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 descriptionType / EDT / enumMandatoryReferencesIn public entities
TransDateDate of the closing record.Date
TransDate
YesNone
VoucherVoucher number of the closing record.String (20)
Voucher
YesNone
ActiveYes/No flag showing whether the record is active.Enum
NoYes (enum)
NoNone
AdjustmentSpecScope of the adjustment: total, item group or item number.Enum
InventAdjustmentSpec (enum)
NoNone
AdjustmentTypeType of run, such as posting, on-hand, closing, recalculation or pre-closing.Enum
InventAdjustmentType (enum)
NoNone
BatchJobIdReference to a batch job by system record ID. Target table not stated.low confidenceInt64
RefRecId
NoNone
BOMLevelBill of materials level the record refers to.Integer
ItemBOMLevel
NoNone
CancelClosingRefRecIdLink to the closing record that this record cancels, by system record ID.Int64
InventClosingRefRecId
NoInventClosing.RecIdNone
CancellationYes/No flag showing whether this is a cancellation.Enum
NoYes (enum)
NoNone
CancelRecalculationYes/No flag for cancelling later recalculations.Enum
InventCostCancelRecalculation
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EndTime when the run ended.Time
ToTime
NoNone
ExecutedDate when the run was carried out.Date
TransDate
NoNone
HelpersCreatedYes/No flag. Purpose not clear from the metadata.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
InventCostStatusCalculation status: ended, ledger posting or calculation.Enum
InventCostStatus (enum)
NoNone
InventSumDateFinancialCalcFinished_RUYes/No flag for the on-hand inventory calculation on a date, used for Russia.Enum
NoYesId
NoYes (enum)
NoNone
InventTransCurrency_RUCurrency choice, accounting or reporting currency, used for Russia.Enum
InventTransCurrency_RU (enum)
NoNone
ITMAdjustmentYes/No flag showing the adjustment comes from a landed cost adjustment.Enum
NoYes (enum)
NoNone
LedgerYes/No flag for the ledger option of the run.low confidenceEnum
NoYes (enum)
NoNone
LedgerCorrectionYes/No flag for inventory settlement correction.Enum
LedgerCorrection
NoYes (enum)
NoNone
LedgerPostingBatchReference to a batch by system record ID. Target table not stated.low confidenceInt64
RefRecId
NoNone
MaxIterationsMaximum number of throughputs allowed.Integer
Integer
NoNone
MinTransferValueMinimum amount for a throughput adjustment.Real
CostAmount
NoNone
NextRunNumID of the next run.Integer
InventClosingRunNum
NoNone
NotesFree text note for the record.String (-1)
FreeTxt
NoNone
NumOfIterationNumber of program sequences carried out.Integer
NumOfIteration
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PeriodCodeDate interval code, pointing to the ledger date interval.String
DateCode
NoLedgerPeriodCode.CodeNone
ProdJournalYes/No flag for the production option.low confidenceEnum
NoYes (enum)
NoNone
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
RunNumID of the run.Integer
InventClosingRunNum
NoNone
RunRecalculationYes/No flag to run a recalculation after closing.Enum
InventCostRunRecalculation
NoYes (enum)
NoNone
ShouldSummarizeInfologYes/No flag. Purpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoNone
StartTime when the run started.Time
FromTime
NoNone
StopOnErrorYes/No flag to stop the run when an error occurs.Enum
NoYesId
NoYes (enum)
NoNone
StopRunningYes/No flag to stop the current update.Enum
NoYesId
NoYes (enum)
NoNone
StornoAdjustment_RUStorno setting with values unknown, no or yes, used for Russia.Enum
UnknownNoYes (enum)
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

Indexes (4)

Relations (2)

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

  • CancelInventClosing → InventClosing

    Join on CancelClosingRefRecId = InventClosing.RecId

    Many InventClosing records → zero or one InventClosing record

  • LedgerPeriodCode → LedgerPeriodCode

    Join on PeriodCode = LedgerPeriodCode.Code

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

Email sales@drdynamics.co.uk