Table
InventSettlementHistory
Inventory settlement
Stores the history of inventory settlements. Each row links a settled inventory transaction to its settlement type, date and amounts. It also holds ledger account and dimension links. Some fields are used for Russia.
- Table name
InventSettlementHistory- Module
Inventory- Table group
TransactionLine- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecIdTypeIdx- Replacement key
None- Key fields
TransRecId, SettleType, TransDate, RecId- Model
Foundation
Fields (34)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TransRecIdSystem record ID of the related inventory transaction. | Int64InventTransRefRecId | No | InventTrans.RecId | None |
SettleTypeType of settlement, such as receipt, issue or adjustment. | EnumInventSettleType (enum) | No | None | |
TransDateDate of the settlement. It joins with the voucher to the inventory closing table. | DateDatePosted | No | InventClosing.TransDate | 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 | |
ArchiveServiceJobIdIdentifier (GUID) of the archive service job. | GuidArchiveServiceJobId | No | None | |
BalanceSheetLedgerDimensionBalance sheet ledger account. Points to a dimension combination by its system record ID. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
BalanceSheetPostingType of balance sheet posting for the settlement. | EnumInventPostingBalanceSheetLedgerPostingType (enum) | No | None | |
CancelledYes or no value that shows whether the settlement is cancelled. | EnumNoYes (enum) | No | None | |
CostAmountAdjustmentCost amount of the adjustment. | RealCostAmountAdjusted | No | None | |
CostAmountSettledCost amount that has been settled. | RealCostAmountSettled | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionFinancial dimension values for the record. Points to a dimension value set. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
InventTransCurrency_RUCurrency used for Russia: accounting currency or reporting currency. | EnumInventTransCurrency_RU (enum) | No | None | |
InventTransIdLot ID that links to the inventory transaction origin. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
ItemGroupIdItem group of the item. Points to the item groups table. | StringItemGroupId | No | InventItemGroup.ItemGroupId | None |
ItemIdNumber of the item. Points to the items table. | String (20)ItemId | No | InventTable.ItemId | None |
ITMCostTransRecIdSystem record ID of a related cost transaction.low confidence | Int64RefRecId | No | None | |
ITMCostTypeIdCode of the cost type. | String (20)ITMCostTypeId | No | None | |
MarkupCode_RUCharges code used for Russia. | StringMarkupCode | No | None | |
OperationsLedgerDimensionProfit and loss ledger account. Points to a dimension combination by its system record ID. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
OperationsPostingType of profit and loss posting for the settlement. | EnumInventPostingOperationsLedgerPostingType (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCWSettledCatch weight quantity that is covered by the settlement. | RealPdsCWSettled | No | None | |
PostedYes or no value that shows whether the settlement is posted. | EnumNoYes (enum) | No | None | |
QtySettledQuantity that has been settled. | RealInventQtySettled | 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 | |
SettleModelSettlement principle, such as FIFO, LIFO, weighted average or monthly average cost. | EnumInventSettleModel (enum) | No | None | |
SettleTransIdSettlement transaction number. Relates to the inventory settlement table. | String (20)InventSettleTransId | 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 when the transaction started. | UtcDateTimeTransBeginTime | No | None | |
VendAccountMarkup_RUVendor account used for Russia. Points to the vendors table. | String (20)VendAccountMarkup_RU | No | VendTable.AccountNum | None |
VendInvoiceIdMarkup_RUVendor invoice number used for Russia. | String (50)VendInvoiceIdMarkup_RU | No | None | |
VoucherVoucher number. It joins with the date to the inventory closing table. | String (20)Voucher | No | InventClosing.Voucher | None |
Indexes (5)
DateVoucherIdxTransDate,Voucher,RecId,SettleModelUnique, alternate key.
RecIdTypeIdxPrimary indexTransRecId,SettleType,TransDate,RecIdUnique.
TransactionIdxSettleTransId,TransRecId,RecId,SettleType,Cancelled,QtySettledUnique, alternate key.
ItemDateIdxItemId,TransDate,CostAmountAdjustment,TransRecId,InventTransCurrency_RUNot unique.
ItemVoucherDateIdxItemId,Voucher,TransDate,CancelledNot unique.
Relations (11)
Each relation joins InventSettlementHistory to another table on the fields shown.
BalanceSheetLedgerDimension→DimensionAttributeValueCombinationJoin on
BalanceSheetLedgerDimension = DimensionAttributeValueCombination.RecIdMany InventSettlementHistory records → zero or one DimensionAttributeValueCombination record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany InventSettlementHistory records → zero or one DimensionAttributeValueSet record
InventClosing→InventClosingJoin on
TransDate = InventClosing.TransDate,Voucher = InventClosing.VoucherMany InventSettlementHistory records → zero or one InventClosing record
InventItemGroup→InventItemGroupJoin on
ItemGroupId = InventItemGroup.ItemGroupIdMany InventSettlementHistory records → zero or one InventItemGroup record
InventSettlement→InventSettlementJoin on
SettleTransId = InventSettlement.SettleTransIdCardinality not set in the metadata.
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany InventSettlementHistory records → zero or one InventTable record
InventTrans→InventTransJoin on
TransRecId = InventTrans.RecIdMany InventSettlementHistory records → zero or one InventTrans record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany InventSettlementHistory records → zero or one InventTransOrigin record
OperationsLedgerDimension→DimensionAttributeValueCombinationJoin on
OperationsLedgerDimension = DimensionAttributeValueCombination.RecIdMany InventSettlementHistory records → zero or one DimensionAttributeValueCombination record
VendTable→VendTableJoin on
VendAccountMarkup_RU = VendTable.AccountNumMany InventSettlementHistory records → exactly one VendTable record
InventTransArchive→InventTransArchiveJoin on
TransRecId = InventTransArchive.InventTransMany InventSettlementHistory records → zero or one InventTransArchive record
Get this data out
No public entity reads from InventSettlementHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with InventSettlementHistory in a report, an integration or a migration? Talk to Dr Dynamics.