Table
InventJournalTransHistory
Archived inventory journal lines
Archived inventory journal lines, kept as history. Each line is identified by journal ID and line number, and links to the archived journal header. It holds the item, quantity, dimensions, cost and sales values, and project, fixed asset and country-specific data such as India, Hungary, Russia and Brazil.
- Table name
InventJournalTransHistory- Module
Inventory- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
LineIdx- Replacement key
LineIdx- Key fields
JournalId, LineNum- Model
Foundation
Fields (82)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
JournalIdJournal the line belongs to. Points to the archived journal header. | String (20)InventJournalId | Yes | InventJournalTableHistory.JournalId | None |
LineNumNumber of the line within the journal. | RealLineNum | No | None | |
ActivityNumberProject activity number linked to the line. | String (50)ProjActivityNumber | No | None | |
AssetBookIdFixed asset book used when the line relates to a fixed asset. | StringAssetBookIdPurchSalesInvent | No | None | |
AssetIdFixed asset number the line relates to. | String (20)AssetId | No | None | |
AssetTransTypeType of fixed asset transaction, such as acquisition, depreciation or disposal. | EnumAssetTransTypeJournal (enum) | No | None | |
BOMLineYes/no flag showing whether the line is a bill of materials line. | EnumBOMLineNoYes (enum) | No | None | |
CostAmountCost amount of the line. | RealCostAmount | No | None | |
CostMarkupExtra charges added on top of the cost. | RealCostMarkup | No | None | |
CostPriceCost price of the item on the line. | RealItemCostPrice | No | None | |
CountedQuantity counted for the line in a counting journal. | RealInventQtyCounted | No | None | |
CountingReasonCodeReason code recorded for a counting line. | String (20)InventCountingReasonCodeId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension values set for the line. | Int64InventSiteLinkedDimensionValueSet | No | None | |
DSA_INYes/no flag for DSA, used for India.low confidence | EnumNoYes (enum) | No | None | |
EntAssetWorkOrderLineReference to the work order job that the line relates to. | Int64EntAssetWorkOrderLineRecID | No | None | |
ExciseRecordType_INExcise record type, used for India. Values are None, RG23A, RG23C and RG23D. | EnumExciseRecordType_IN (enum) | No | None | |
ExciseTariffCodes_INReference to the excise tariff code, used for India. | Int64RefRecId | No | None | |
ExciseType_INExcise type, used for India. Values are None, Manufacturer and Trader. | EnumExciseType_IN (enum) | No | None | |
FinTagFinancial tag linked to the line. | Int64FinTagRecId | No | FinTag.RecId | None |
IndOpCode_BRReference to the operation indicator code, used for Brazil. | Int64RefRecId | No | None | |
IntrastatFulfillmentDate_HUIntrastat fulfilment date, used for Hungary. | DateIntrastatFulfillmentDate_HU | No | None | |
InventDimIdIdentifier of the inventory dimension combination for the line. | String (20)InventDimId | No | None | |
InventOnHandOn-hand quantity recorded on the line. | RealInventQtyOnHand | No | None | |
InventoryServiceAdjustmentOffsetDatasourceData source used as the offset in an Inventory Visibility adjustment. | String (50)InventInventoryServiceAdjustmentOffsetDataSource | No | None | |
InventoryServiceAdjustmentOffsetPhysicalMeasurePhysical measure used as the offset in an Inventory Visibility adjustment. | String (50)InventInventoryServiceAdjustmentOffsetPhysicalMeasure | No | None | |
InventoryServiceTransactionIdTransaction ID used by Inventory Visibility. | String (100)InventInventoryServiceTransactionId | No | None | |
InventRefIdNumber of the document that the line refers to. | String (20)InventRefId | No | None | |
InventRefTransIdLot ID of the referenced transaction. | String (20)InventRefTransId | No | None | |
InventRefTypeKind of document referred to, such as sales order, purchase order or production. | EnumInventRefType (enum) | No | None | |
InventTransIdLot ID that identifies the inventory transaction for this line. | String (20)InventTransId | No | None | |
InventTransIdFatherLot ID of the finished item that this line belongs to. | String (20)InventTransId | No | None | |
InventTransIdReturnLot ID of the return transaction. | String (20)InventTransIdReturn | No | None | |
ItemIdNumber of the item on the line. | String (20)ItemIdInventoried | Yes | None | |
ITMOverUnderTransferYes/no flag for an over or under transfer. | EnumNoYes (enum) | No | None | |
JournalTypeType of journal, such as movement, transfer, counting or BOM. | EnumInventJournalType (enum) | No | None | |
LedgerDimensionOffset account for the line, as a dimension code combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NBSCode_BRReference to the NBS code, used for Brazil. | Int64RefRecId | No | None | |
PackedExtensionsPacked container for extension data stored with the line.low confidence | ContainerSysExtensionSerializerPackedContainer | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCopyBatchAttribYes/no flag for copying batch attributes. | EnumPdsCopyBatchAttribNoYes (enum) | No | None | |
PdsCWInventOnHandOn-hand quantity in catch weight units. | RealPdsCWInventQtyOnHand | No | None | |
PdsCWInventQtyCountedCounted quantity in catch weight units. | RealPdsCWInventQtyCounted | No | None | |
PdsCWQtyQuantity in catch weight units. | RealPdsCWInventQty | No | None | |
PostalAddress_INReference to a postal address, used for India. | Int64LogisticsPostalAddressRecId | No | None | |
PriceUnitQuantity that the price applies to. | RealInventPriceUnitQty | No | None | |
ProfitSetProfit-setting choice: Standard or Profit 1 to 3. | EnumCostProfitSet (enum) | No | None | |
ProjCategoryIdProject category linked to the line. | String (30)ProjCategoryId | No | None | |
ProjIdProject the line is linked to. | String (20)ProjId | No | None | |
ProjLinePropertyIdProject line property for the line. | StringProjLinePropertyId | No | None | |
ProjSalesCurrencyIdCurrency code for the project sales price. | String (3)ProjSalesCurrencyCode | No | None | |
ProjSalesPriceSales price for the project. | RealProjSalesPriceCost | No | None | |
ProjTaxGroupIdSales tax group for the project. | StringProjTaxGroup | No | None | |
ProjTaxItemGroupIdItem sales tax group for the project. | StringProjTaxItemGroup | No | None | |
ProjTransIdProject transaction ID linked to the line. | String (20)ProjItemTransId | No | None | |
ProjUnitIDUnit of measure used for the project line. | StringUnitOfMeasureSymbol | No | None | |
QtyQuantity on the journal line. | RealInventQtyJournal | No | None | |
ReasonRefRecIdReference to a reason record for the line. | Int64ReasonRefRecID | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReleaseDateDate and time the line was released. | UtcDateTimePostReleaseDate | No | None | |
RentalAffectBookValueYes/no flag for rental. The label is empty, so the exact meaning is unclear.low confidence | EnumNoYes (enum) | No | None | |
RentalItemReference to the fleet item used for rental. | Int64RentalItemRecId | No | None | |
RentalItemMovedToFromReference record for a rental item moved to or from.low confidence | Int64RefRecId | No | None | |
ReqPOIdNumber of the related planned or requisition purchase order.low confidence | String (20)ReqPOId | No | None | |
RetailInfocodeIdEx2Retail info code number. | StringRetailInfocodeIdEx2 | No | None | |
RetailInformationSubcodeIdEx2Retail info subcode number. | StringRetailInformationSubcodeIdEx2 | No | None | |
SalesAmountSales amount of the line. | RealSalesAmount | No | None | |
ScrapTypeId_RUScrap type, used for Russia.low confidence | StringPurchReturnActionId | No | None | |
Storno_RUYes/no flag for storno (reversal), used for Russia. | EnumStorno_RUNoYes (enum) | No | None | |
SubBillDeferralRecIdOriginalReference to the original subscription billing deferral record.low confidence | Int64RefRecId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToInventDimIdInventory dimension number of the receiving side, for example in a transfer. | String (20)InventDimId | No | None | |
ToInventTransIdLot ID of the receiving transaction. | String (20)InventTransIdTo | No | None | |
TransDateTransaction date of the line. | DateJournalTransDate | Yes | None | |
UnitUnit of measure for the journal line. | StringInventJournalUnit | No | None | |
UnitQtyQuantity in the journal unit. | RealInventJournalUnitQty | No | None | |
VoucherVoucher number for the line. | String (20)Voucher | No | None | |
WarehouseLocation_INReference to a location record, used for India. | Int64LogisticsLocationRecId | No | None | |
WorkerWorker linked to the line. Points to the worker record. | Int64HcmWorkerRecId | No | HcmWorker.RecId | None |
Indexes (1)
Relations (4)
Each relation joins InventJournalTransHistory to another table on the fields shown.
InventJournalTableHistory→InventJournalTableHistoryJoin on
JournalId = InventJournalTableHistory.JournalIdMany InventJournalTransHistory records → exactly one InventJournalTableHistory record
HcmWorker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany InventJournalTransHistory records → zero or one HcmWorker record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany InventJournalTransHistory records → zero or one DimensionAttributeValueCombination record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdCardinality not set in the metadata.
Get this data out
No public entity reads from InventJournalTransHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with InventJournalTransHistory in a report, an integration or a migration? Talk to Dr Dynamics.