Table
DOMLogs
DOM Logs
Holds log messages written by distributed order management (DOM) runs. Each record can point to a sales order, a sales line, an item, a variant, a warehouse and a DOM rule. It also stores the run ID, the fulfilment profile and a log level (None, Information, Error or Warning).
- Table name
DOMLogs- Module
Commerce transactions and orders- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
DOM
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DOMRulePoints to the DOM rule record that the log entry refers to. | Int64RefRecId | No | DOMRules.RecId | None |
DOMRunIdIdentifier of the DOM run that wrote the entry. It links to the DOM results. | Int64DOMRunId | No | None | |
FulfillmentProfileIdCode of the fulfilment profile used in the run. | String (32)DOMFulfillmentProfileId | No | None | |
GlobalLogYes/No flag showing whether this is a global log entry.low confidence | EnumNoYes (enum) | No | None | |
InventDimIdInventory dimension number linked to the entry. | String (20)InventDimId | No | None | |
InventLocationDataAreaIdCompany (data area) that owns the warehouse. It is used together with the warehouse ID. | String (6)DirDataAreaId | No | InventLocation.DataAreaId | None |
InventLocationIdWarehouse the log entry relates to. | StringInventLocationId | Yes | InventLocation.InventLocationId | None |
InventQtyQuantity in inventory units linked to the log entry. | RealInventQty | No | None | |
IsCustomLogYes/No flag showing whether the entry is a custom log. | EnumNoYes (enum) | No | None | |
ItemIdItem number the log entry is about. | String (20)ItemIdSmall | No | InventTable.ItemId | None |
LogLevelSeverity of the entry: None, Information, Error or Warning. | EnumDOMLogsLogLevel (enum) | No | None | |
LogMessageFree-text log message, stored as a long memo. | String (-1)Log | No | None | |
OriginalLineRecIdSystem record ID of the original line the entry refers to. The target table is not stated in the metadata.low confidence | Int64RefRecId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RetailVariantIdVariant number of the released product variant, if the entry relates to one. | StringRetailVariantId | No | None | |
SalesIdSales order number the log entry relates to. | String (20)SalesIdBase | No | SalesTable.SalesId | None |
SalesLineNumberLine number of the sales order line the entry relates to. | RealLineNum | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
Index1SalesId,SalesLineNumber,DOMRunId,GlobalLogNot unique.
CreatedDateTimeIdxNot unique.
Relations (7)
Each relation joins DOMLogs to another table on the fields shown.
SalesLine→SalesLineJoin on
SalesId = SalesLine.SalesId,SalesLineNumber = SalesLine.LineNumMany DOMLogs records → exactly one SalesLine record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany DOMLogs records → exactly one SalesTable record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdOne or more DOMLogs records → exactly one InventTable record
InventDimCombination→InventDimCombinationJoin on
RetailVariantId = InventDimCombination.RetailVariantIdZero or one DOMLogs record → exactly one InventDimCombination record
InventLocationId→InventLocationJoin on
InventLocationId = InventLocation.InventLocationId,InventLocationDataAreaId = InventLocation.DataAreaIdOne or more DOMLogs records → exactly one InventLocation record
DOMRules→DOMRulesJoin on
DOMRule = DOMRules.RecIdOne or more DOMLogs records → exactly one DOMRules record
DOMResults→DOMResultsJoin on
DOMRunId = DOMResults.DOMRunIdMany DOMLogs records → exactly one DOMResults record
Get this data out
No public entity reads from DOMLogs. Its data is only reachable through the application, a custom entity or a database export.
Need help with DOMLogs in a report, an integration or a migration? Talk to Dr Dynamics.