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 descriptionType / EDT / enumMandatoryReferencesIn public entities
TransRecIdSystem record ID of the related inventory transaction.Int64
InventTransRefRecId
NoInventTrans.RecIdNone
SettleTypeType of settlement, such as receipt, issue or adjustment.Enum
InventSettleType (enum)
NoNone
TransDateDate of the settlement. It joins with the voucher to the inventory closing table.Date
DatePosted
NoInventClosing.TransDateNone
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
ArchiveServiceJobIdIdentifier (GUID) of the archive service job.Guid
ArchiveServiceJobId
NoNone
BalanceSheetLedgerDimensionBalance sheet ledger account. Points to a dimension combination by its system record ID.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
BalanceSheetPostingType of balance sheet posting for the settlement.Enum
InventPostingBalanceSheet
LedgerPostingType (enum)
NoNone
CancelledYes or no value that shows whether the settlement is cancelled.Enum
NoYes (enum)
NoNone
CostAmountAdjustmentCost amount of the adjustment.Real
CostAmountAdjusted
NoNone
CostAmountSettledCost amount that has been settled.Real
CostAmountSettled
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionFinancial dimension values for the record. Points to a dimension value set.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
InventTransCurrency_RUCurrency used for Russia: accounting currency or reporting currency.Enum
InventTransCurrency_RU (enum)
NoNone
InventTransIdLot ID that links to the inventory transaction origin.String (20)
InventTransId
NoInventTransOrigin.InventTransIdNone
ItemGroupIdItem group of the item. Points to the item groups table.String
ItemGroupId
NoInventItemGroup.ItemGroupIdNone
ItemIdNumber of the item. Points to the items table.String (20)
ItemId
NoInventTable.ItemIdNone
ITMCostTransRecIdSystem record ID of a related cost transaction.low confidenceInt64
RefRecId
NoNone
ITMCostTypeIdCode of the cost type.String (20)
ITMCostTypeId
NoNone
MarkupCode_RUCharges code used for Russia.String
MarkupCode
NoNone
OperationsLedgerDimensionProfit and loss ledger account. Points to a dimension combination by its system record ID.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
OperationsPostingType of profit and loss posting for the settlement.Enum
InventPostingOperations
LedgerPostingType (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsCWSettledCatch weight quantity that is covered by the settlement.Real
PdsCWSettled
NoNone
PostedYes or no value that shows whether the settlement is posted.Enum
NoYes (enum)
NoNone
QtySettledQuantity that has been settled.Real
InventQtySettled
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SettleModelSettlement principle, such as FIFO, LIFO, weighted average or monthly average cost.Enum
InventSettleModel (enum)
NoNone
SettleTransIdSettlement transaction number. Relates to the inventory settlement table.String (20)
InventSettleTransId
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 when the transaction started.UtcDateTime
TransBeginTime
NoNone
VendAccountMarkup_RUVendor account used for Russia. Points to the vendors table.String (20)
VendAccountMarkup_RU
NoVendTable.AccountNumNone
VendInvoiceIdMarkup_RUVendor invoice number used for Russia.String (50)
VendInvoiceIdMarkup_RU
NoNone
VoucherVoucher number. It joins with the date to the inventory closing table.String (20)
Voucher
NoInventClosing.VoucherNone

Indexes (5)

Relations (11)

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

  • BalanceSheetLedgerDimension → DimensionAttributeValueCombination

    Join on BalanceSheetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many InventSettlementHistory records → zero or one DimensionAttributeValueCombination record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many InventSettlementHistory records → zero or one DimensionAttributeValueSet record

  • InventClosing → InventClosing

    Join on TransDate = InventClosing.TransDate, Voucher = InventClosing.Voucher

    Many InventSettlementHistory records → zero or one InventClosing record

  • InventItemGroup → InventItemGroup

    Join on ItemGroupId = InventItemGroup.ItemGroupId

    Many InventSettlementHistory records → zero or one InventItemGroup record

  • InventSettlement → InventSettlement

    Join on SettleTransId = InventSettlement.SettleTransId

    Cardinality not set in the metadata.

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many InventSettlementHistory records → zero or one InventTable record

  • InventTrans → InventTrans

    Join on TransRecId = InventTrans.RecId

    Many InventSettlementHistory records → zero or one InventTrans record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many InventSettlementHistory records → zero or one InventTransOrigin record

  • OperationsLedgerDimension → DimensionAttributeValueCombination

    Join on OperationsLedgerDimension = DimensionAttributeValueCombination.RecId

    Many InventSettlementHistory records → zero or one DimensionAttributeValueCombination record

  • VendTable → VendTable

    Join on VendAccountMarkup_RU = VendTable.AccountNum

    Many InventSettlementHistory records → exactly one VendTable record

  • InventTransArchive → InventTransArchive

    Join on TransRecId = InventTransArchive.InventTrans

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

Email sales@drdynamics.co.uk