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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TransDateDate of the transaction. | DateTransDate | No | None | |
VoucherVoucher number of the posting. | String (20)Voucher | Yes | None | |
InventTransOriginPoints to the originator record in InventTransOriginHistory for the inventory transaction. | Int64InventTransOriginId | Yes | InventTransOriginHistory.RecId | None |
InventTransPostingTypeKind of inventory posting, such as physical, financial, physical revenue, physical charge or financial charge. | EnumInventTransPostingType (enum) | No | None | |
ArchiveServiceJobIdPurpose not clear from the metadata.low confidence | Guid | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionPoints to the default dimension set (DimensionAttributeValueSet) for the posting. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
IsPostedYes or No flag showing whether the posting is marked as posted. | EnumNoYes (enum) | No | None | |
ItemIdItem number of the item concerned. Points to InventTable. | String (20)ItemId | No | InventTable.ItemId | None |
LedgerDimensionLedger account for the posting, held as a dimension combination. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
OffsetLedgerDimensionOffset ledger account for the posting, held as a dimension combination. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingTypeLedger posting type for the main account, such as exchange rate gain, sales tax or allocation. | EnumInventPostingTypeLedgerPostingType (enum) | No | None | |
PostingTypeOffsetLedger posting type for the offset account. | EnumInventPostingTypeLedgerPostingType (enum) | No | None | |
ProjIdProject the posting relates to. Points to ProjTable. | String (20)ProjId | No | ProjTable.ProjId | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransBeginTimeDate and time (UTC) of the transaction. | UtcDateTimeTransBeginTime | No | None |
Indexes (3)
ItemTypeDateIdxItemId,InventTransPostingType,TransDateNot unique.
DateVoucherTransIdxPrimary indexTransDate,Voucher,InventTransOrigin,InventTransPostingTypeUnique, alternate key.
InventTransOriginIdxNot unique.
Relations (6)
Each relation joins InventTransPostingHistory to another table on the fields shown.
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany InventTransPostingHistory records → zero or one DimensionAttributeValueSet record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany InventTransPostingHistory records → zero or one InventTable record
InventTransOriginHistory→InventTransOriginHistoryJoin on
InventTransOrigin = InventTransOriginHistory.RecIdMany InventTransPostingHistory records → exactly one InventTransOriginHistory record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany InventTransPostingHistory records → zero or one DimensionAttributeValueCombination record
OffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany InventTransPostingHistory records → zero or one DimensionAttributeValueCombination record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany 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.