Table
InventClosing
Inventory closing
Holds inventory closing and adjustment runs, keyed by date and voucher. It records the type and specification of the run, its status, start and end times, iteration limits and options such as recalculation and stopping on error. Some fields are used for Russia. It can point to another closing record for cancellation.
- Table name
InventClosing- Module
Inventory- Table group
TransactionHeader- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
VoucherDateIdx- Replacement key
VoucherDateIdx- Key fields
TransDate, Voucher- Model
Foundation
Fields (40)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TransDateDate of the closing record. | DateTransDate | Yes | None | |
VoucherVoucher number of the closing record. | String (20)Voucher | Yes | None | |
ActiveYes/No flag showing whether the record is active. | EnumNoYes (enum) | No | None | |
AdjustmentSpecScope of the adjustment: total, item group or item number. | EnumInventAdjustmentSpec (enum) | No | None | |
AdjustmentTypeType of run, such as posting, on-hand, closing, recalculation or pre-closing. | EnumInventAdjustmentType (enum) | No | None | |
BatchJobIdReference to a batch job by system record ID. Target table not stated.low confidence | Int64RefRecId | No | None | |
BOMLevelBill of materials level the record refers to. | IntegerItemBOMLevel | No | None | |
CancelClosingRefRecIdLink to the closing record that this record cancels, by system record ID. | Int64InventClosingRefRecId | No | InventClosing.RecId | None |
CancellationYes/No flag showing whether this is a cancellation. | EnumNoYes (enum) | No | None | |
CancelRecalculationYes/No flag for cancelling later recalculations. | EnumInventCostCancelRecalculationNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EndTime when the run ended. | TimeToTime | No | None | |
ExecutedDate when the run was carried out. | DateTransDate | No | None | |
HelpersCreatedYes/No flag. Purpose not clear from the metadata.low confidence | EnumNoYesIdNoYes (enum) | No | None | |
InventCostStatusCalculation status: ended, ledger posting or calculation. | EnumInventCostStatus (enum) | No | None | |
InventSumDateFinancialCalcFinished_RUYes/No flag for the on-hand inventory calculation on a date, used for Russia. | EnumNoYesIdNoYes (enum) | No | None | |
InventTransCurrency_RUCurrency choice, accounting or reporting currency, used for Russia. | EnumInventTransCurrency_RU (enum) | No | None | |
ITMAdjustmentYes/No flag showing the adjustment comes from a landed cost adjustment. | EnumNoYes (enum) | No | None | |
LedgerYes/No flag for the ledger option of the run.low confidence | EnumNoYes (enum) | No | None | |
LedgerCorrectionYes/No flag for inventory settlement correction. | EnumLedgerCorrectionNoYes (enum) | No | None | |
LedgerPostingBatchReference to a batch by system record ID. Target table not stated.low confidence | Int64RefRecId | No | None | |
MaxIterationsMaximum number of throughputs allowed. | IntegerInteger | No | None | |
MinTransferValueMinimum amount for a throughput adjustment. | RealCostAmount | No | None | |
NextRunNumID of the next run. | IntegerInventClosingRunNum | No | None | |
NotesFree text note for the record. | String (-1)FreeTxt | No | None | |
NumOfIterationNumber of program sequences carried out. | IntegerNumOfIteration | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PeriodCodeDate interval code, pointing to the ledger date interval. | StringDateCode | No | LedgerPeriodCode.Code | None |
ProdJournalYes/No flag for the production option.low confidence | EnumNoYes (enum) | No | 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 | |
RunNumID of the run. | IntegerInventClosingRunNum | No | None | |
RunRecalculationYes/No flag to run a recalculation after closing. | EnumInventCostRunRecalculationNoYes (enum) | No | None | |
ShouldSummarizeInfologYes/No flag. Purpose not clear from the metadata.low confidence | EnumNoYes (enum) | No | None | |
StartTime when the run started. | TimeFromTime | No | None | |
StopOnErrorYes/No flag to stop the run when an error occurs. | EnumNoYesIdNoYes (enum) | No | None | |
StopRunningYes/No flag to stop the current update. | EnumNoYesIdNoYes (enum) | No | None | |
StornoAdjustment_RUStorno setting with values unknown, no or yes, used for Russia. | EnumUnknownNoYes (enum) | 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 |
Indexes (4)
TypeDateIdxActive,TransDate,AdjustmentType,VoucherUnique.
TypeActiveIdxAdjustmentType,Active,TransDateNot unique.
VoucherDateIdxPrimary indexReplacement keyUnique, alternate key.
StatusIdxInventTransCurrency_RU,InventCostStatus,Active,AdjustmentTypeNot unique.
Relations (2)
Each relation joins InventClosing to another table on the fields shown.
CancelInventClosing→InventClosingJoin on
CancelClosingRefRecId = InventClosing.RecIdMany InventClosing records → zero or one InventClosing record
LedgerPeriodCode→LedgerPeriodCodeJoin on
PeriodCode = LedgerPeriodCode.CodeMany InventClosing records → zero or one LedgerPeriodCode record
Get this data out
No public entity reads from InventClosing. Its data is only reachable through the application, a custom entity or a database export.
Need help with InventClosing in a report, an integration or a migration? Talk to Dr Dynamics.