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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DOMRulePoints to the DOM rule record that the log entry refers to.Int64
RefRecId
NoDOMRules.RecIdNone
DOMRunIdIdentifier of the DOM run that wrote the entry. It links to the DOM results.Int64
DOMRunId
NoNone
FulfillmentProfileIdCode of the fulfilment profile used in the run.String (32)
DOMFulfillmentProfileId
NoNone
GlobalLogYes/No flag showing whether this is a global log entry.low confidenceEnum
NoYes (enum)
NoNone
InventDimIdInventory dimension number linked to the entry.String (20)
InventDimId
NoNone
InventLocationDataAreaIdCompany (data area) that owns the warehouse. It is used together with the warehouse ID.String (6)
DirDataAreaId
NoInventLocation.DataAreaIdNone
InventLocationIdWarehouse the log entry relates to.String
InventLocationId
YesInventLocation.InventLocationIdNone
InventQtyQuantity in inventory units linked to the log entry.Real
InventQty
NoNone
IsCustomLogYes/No flag showing whether the entry is a custom log.Enum
NoYes (enum)
NoNone
ItemIdItem number the log entry is about.String (20)
ItemIdSmall
NoInventTable.ItemIdNone
LogLevelSeverity of the entry: None, Information, Error or Warning.Enum
DOMLogsLogLevel (enum)
NoNone
LogMessageFree-text log message, stored as a long memo.String (-1)
Log
NoNone
OriginalLineRecIdSystem record ID of the original line the entry refers to. The target table is not stated in the metadata.low confidenceInt64
RefRecId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
RetailVariantIdVariant number of the released product variant, if the entry relates to one.String
RetailVariantId
NoNone
SalesIdSales order number the log entry relates to.String (20)
SalesIdBase
NoSalesTable.SalesIdNone
SalesLineNumberLine number of the sales order line the entry relates to.Real
LineNum
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (7)

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

  • SalesLine → SalesLine

    Join on SalesId = SalesLine.SalesId, SalesLineNumber = SalesLine.LineNum

    Many DOMLogs records → exactly one SalesLine record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many DOMLogs records → exactly one SalesTable record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    One or more DOMLogs records → exactly one InventTable record

  • InventDimCombination → InventDimCombination

    Join on RetailVariantId = InventDimCombination.RetailVariantId

    Zero or one DOMLogs record → exactly one InventDimCombination record

  • InventLocationId → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId, InventLocationDataAreaId = InventLocation.DataAreaId

    One or more DOMLogs records → exactly one InventLocation record

  • DOMRules → DOMRules

    Join on DOMRule = DOMRules.RecId

    One or more DOMLogs records → exactly one DOMRules record

  • DOMResults → DOMResults

    Join on DOMRunId = DOMResults.DOMRunId

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

Email sales@drdynamics.co.uk