Table

InventTransPostingHistory

Inventory transaction posting

Stores posting details for inventory transactions: ledger accounts, offset accounts, dimensions, item, project and voucher. Each record has a posting type, such as physical or financial, and a flag showing whether it is posted. The key is date, voucher, originator and posting type. The originator links to InventTransOriginHistory.

Table name
InventTransPostingHistory
Module
Inventory
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
DateVoucherTransIdx
Replacement key
None
Key fields
TransDate, Voucher, InventTransOrigin, InventTransPostingType
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TransDateDate of the transaction.Date
TransDate
NoNone
VoucherVoucher number of the posting.String (20)
Voucher
YesNone
InventTransOriginPoints to the originator record in InventTransOriginHistory for the inventory transaction.Int64
InventTransOriginId
YesInventTransOriginHistory.RecIdNone
InventTransPostingTypeKind of inventory posting, such as physical, financial, physical revenue, physical charge or financial charge.Enum
InventTransPostingType (enum)
NoNone
ArchiveServiceJobIdPurpose not clear from the metadata.low confidenceGuidNoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionPoints to the default dimension set (DimensionAttributeValueSet) for the posting.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
IsPostedYes or No flag showing whether the posting is marked as posted.Enum
NoYes (enum)
NoNone
ItemIdItem number of the item concerned. Points to InventTable.String (20)
ItemId
NoInventTable.ItemIdNone
LedgerDimensionLedger account for the posting, held as a dimension combination.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
OffsetLedgerDimensionOffset ledger account for the posting, held as a dimension combination.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostingTypeLedger posting type for the main account, such as exchange rate gain, sales tax or allocation.Enum
InventPostingType
LedgerPostingType (enum)
NoNone
PostingTypeOffsetLedger posting type for the offset account.Enum
InventPostingType
LedgerPostingType (enum)
NoNone
ProjIdProject the posting relates to. Points to ProjTable.String (20)
ProjId
NoProjTable.ProjIdNone
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransBeginTimeDate and time (UTC) of the transaction.UtcDateTime
TransBeginTime
NoNone

Indexes (3)

Relations (6)

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

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many InventTransPostingHistory records → zero or one DimensionAttributeValueSet record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many InventTransPostingHistory records → zero or one InventTable record

  • InventTransOriginHistory → InventTransOriginHistory

    Join on InventTransOrigin = InventTransOriginHistory.RecId

    Many InventTransPostingHistory records → exactly one InventTransOriginHistory record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many InventTransPostingHistory records → zero or one DimensionAttributeValueCombination record

  • OffsetLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many InventTransPostingHistory records → zero or one DimensionAttributeValueCombination record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many InventTransPostingHistory records → zero or one ProjTable record

Get this data out

No public entity reads from InventTransPostingHistory. Its data is only reachable through the application, a custom entity or a database export.

Need help with InventTransPostingHistory in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk