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 descriptionType / EDT / enumMandatoryReferencesIn public entities
JournalIdJournal the line belongs to. Points to the archived journal header.String (20)
InventJournalId
YesInventJournalTableHistory.JournalIdNone
LineNumNumber of the line within the journal.Real
LineNum
NoNone
ActivityNumberProject activity number linked to the line.String (50)
ProjActivityNumber
NoNone
AssetBookIdFixed asset book used when the line relates to a fixed asset.String
AssetBookIdPurchSalesInvent
NoNone
AssetIdFixed asset number the line relates to.String (20)
AssetId
NoNone
AssetTransTypeType of fixed asset transaction, such as acquisition, depreciation or disposal.Enum
AssetTransTypeJournal (enum)
NoNone
BOMLineYes/no flag showing whether the line is a bill of materials line.Enum
BOMLine
NoYes (enum)
NoNone
CostAmountCost amount of the line.Real
CostAmount
NoNone
CostMarkupExtra charges added on top of the cost.Real
CostMarkup
NoNone
CostPriceCost price of the item on the line.Real
ItemCostPrice
NoNone
CountedQuantity counted for the line in a counting journal.Real
InventQtyCounted
NoNone
CountingReasonCodeReason code recorded for a counting line.String (20)
InventCountingReasonCodeId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension values set for the line.Int64
InventSiteLinkedDimensionValueSet
NoNone
DSA_INYes/no flag for DSA, used for India.low confidenceEnum
NoYes (enum)
NoNone
EntAssetWorkOrderLineReference to the work order job that the line relates to.Int64
EntAssetWorkOrderLineRecID
NoNone
ExciseRecordType_INExcise record type, used for India. Values are None, RG23A, RG23C and RG23D.Enum
ExciseRecordType_IN (enum)
NoNone
ExciseTariffCodes_INReference to the excise tariff code, used for India.Int64
RefRecId
NoNone
ExciseType_INExcise type, used for India. Values are None, Manufacturer and Trader.Enum
ExciseType_IN (enum)
NoNone
FinTagFinancial tag linked to the line.Int64
FinTagRecId
NoFinTag.RecIdNone
IndOpCode_BRReference to the operation indicator code, used for Brazil.Int64
RefRecId
NoNone
IntrastatFulfillmentDate_HUIntrastat fulfilment date, used for Hungary.Date
IntrastatFulfillmentDate_HU
NoNone
InventDimIdIdentifier of the inventory dimension combination for the line.String (20)
InventDimId
NoNone
InventOnHandOn-hand quantity recorded on the line.Real
InventQtyOnHand
NoNone
InventoryServiceAdjustmentOffsetDatasourceData source used as the offset in an Inventory Visibility adjustment.String (50)
InventInventoryServiceAdjustmentOffsetDataSource
NoNone
InventoryServiceAdjustmentOffsetPhysicalMeasurePhysical measure used as the offset in an Inventory Visibility adjustment.String (50)
InventInventoryServiceAdjustmentOffsetPhysicalMeasure
NoNone
InventoryServiceTransactionIdTransaction ID used by Inventory Visibility.String (100)
InventInventoryServiceTransactionId
NoNone
InventRefIdNumber of the document that the line refers to.String (20)
InventRefId
NoNone
InventRefTransIdLot ID of the referenced transaction.String (20)
InventRefTransId
NoNone
InventRefTypeKind of document referred to, such as sales order, purchase order or production.Enum
InventRefType (enum)
NoNone
InventTransIdLot ID that identifies the inventory transaction for this line.String (20)
InventTransId
NoNone
InventTransIdFatherLot ID of the finished item that this line belongs to.String (20)
InventTransId
NoNone
InventTransIdReturnLot ID of the return transaction.String (20)
InventTransIdReturn
NoNone
ItemIdNumber of the item on the line.String (20)
ItemIdInventoried
YesNone
ITMOverUnderTransferYes/no flag for an over or under transfer.Enum
NoYes (enum)
NoNone
JournalTypeType of journal, such as movement, transfer, counting or BOM.Enum
InventJournalType (enum)
NoNone
LedgerDimensionOffset account for the line, as a dimension code combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NBSCode_BRReference to the NBS code, used for Brazil.Int64
RefRecId
NoNone
PackedExtensionsPacked container for extension data stored with the line.low confidenceContainer
SysExtensionSerializerPackedContainer
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsCopyBatchAttribYes/no flag for copying batch attributes.Enum
PdsCopyBatchAttrib
NoYes (enum)
NoNone
PdsCWInventOnHandOn-hand quantity in catch weight units.Real
PdsCWInventQtyOnHand
NoNone
PdsCWInventQtyCountedCounted quantity in catch weight units.Real
PdsCWInventQtyCounted
NoNone
PdsCWQtyQuantity in catch weight units.Real
PdsCWInventQty
NoNone
PostalAddress_INReference to a postal address, used for India.Int64
LogisticsPostalAddressRecId
NoNone
PriceUnitQuantity that the price applies to.Real
InventPriceUnitQty
NoNone
ProfitSetProfit-setting choice: Standard or Profit 1 to 3.Enum
CostProfitSet (enum)
NoNone
ProjCategoryIdProject category linked to the line.String (30)
ProjCategoryId
NoNone
ProjIdProject the line is linked to.String (20)
ProjId
NoNone
ProjLinePropertyIdProject line property for the line.String
ProjLinePropertyId
NoNone
ProjSalesCurrencyIdCurrency code for the project sales price.String (3)
ProjSalesCurrencyCode
NoNone
ProjSalesPriceSales price for the project.Real
ProjSalesPriceCost
NoNone
ProjTaxGroupIdSales tax group for the project.String
ProjTaxGroup
NoNone
ProjTaxItemGroupIdItem sales tax group for the project.String
ProjTaxItemGroup
NoNone
ProjTransIdProject transaction ID linked to the line.String (20)
ProjItemTransId
NoNone
ProjUnitIDUnit of measure used for the project line.String
UnitOfMeasureSymbol
NoNone
QtyQuantity on the journal line.Real
InventQtyJournal
NoNone
ReasonRefRecIdReference to a reason record for the line.Int64
ReasonRefRecID
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReleaseDateDate and time the line was released.UtcDateTime
PostReleaseDate
NoNone
RentalAffectBookValueYes/no flag for rental. The label is empty, so the exact meaning is unclear.low confidenceEnum
NoYes (enum)
NoNone
RentalItemReference to the fleet item used for rental.Int64
RentalItemRecId
NoNone
RentalItemMovedToFromReference record for a rental item moved to or from.low confidenceInt64
RefRecId
NoNone
ReqPOIdNumber of the related planned or requisition purchase order.low confidenceString (20)
ReqPOId
NoNone
RetailInfocodeIdEx2Retail info code number.String
RetailInfocodeIdEx2
NoNone
RetailInformationSubcodeIdEx2Retail info subcode number.String
RetailInformationSubcodeIdEx2
NoNone
SalesAmountSales amount of the line.Real
SalesAmount
NoNone
ScrapTypeId_RUScrap type, used for Russia.low confidenceString
PurchReturnActionId
NoNone
Storno_RUYes/no flag for storno (reversal), used for Russia.Enum
Storno_RU
NoYes (enum)
NoNone
SubBillDeferralRecIdOriginalReference to the original subscription billing deferral record.low confidenceInt64
RefRecId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToInventDimIdInventory dimension number of the receiving side, for example in a transfer.String (20)
InventDimId
NoNone
ToInventTransIdLot ID of the receiving transaction.String (20)
InventTransIdTo
NoNone
TransDateTransaction date of the line.Date
JournalTransDate
YesNone
UnitUnit of measure for the journal line.String
InventJournalUnit
NoNone
UnitQtyQuantity in the journal unit.Real
InventJournalUnitQty
NoNone
VoucherVoucher number for the line.String (20)
Voucher
NoNone
WarehouseLocation_INReference to a location record, used for India.Int64
LogisticsLocationRecId
NoNone
WorkerWorker linked to the line. Points to the worker record.Int64
HcmWorkerRecId
NoHcmWorker.RecIdNone

Indexes (1)

Relations (4)

Each relation joins InventJournalTransHistory to another table on the fields shown.

  • InventJournalTableHistory → InventJournalTableHistory

    Join on JournalId = InventJournalTableHistory.JournalId

    Many InventJournalTransHistory records → exactly one InventJournalTableHistory record

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many InventJournalTransHistory records → zero or one HcmWorker record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many InventJournalTransHistory records → zero or one DimensionAttributeValueCombination record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Cardinality 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.

Email sales@drdynamics.co.uk