Table

DOMRules

DOM rules

Holds DOM rules, one record per rule, identified by its name. Each rule has a type (such as minimum inventory, maximum distance or partial orders), a start and end date, and a flag for a hard constraint. It can link to a fulfilment location (warehouse) and to a Retail locator group.

Table name
DOMRules
Module
Commerce transactions and orders
Table group
Group
Table type
Regular
Data per company
No
Configuration key
None
Primary index
NameIdx
Replacement key
None
Key fields
Name
Model
DOM

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
NameName of the rule. It is the key of the table.String (99)
DOMRuleName
YesNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DescriptionShort free-text description of the rule.String (60)
DOMRulesDescription
NoNone
EnabledForSoftRunShows whether the rule is included in a soft run.Enum
NoYesCombo (enum)
NoNone
EndDateLast date on which the rule applies.Date
DOMRuleEndDate
NoNone
FulfillmentGroupRecIdSystem record ID of the Retail locator group used as the fulfilment group.Int64
FulfillmentGroupRecId
NoRetailStoreLocatorGroup.RecIdNone
InstanceRelationTypeNumeric value that identifies the specific type of rule record. It is a technical field.low confidenceInt64
SysInt64
NoNone
IsConstraintShows whether the rule is a hard constraint.Enum
NoYes (enum)
YesNone
IsDisabledShows whether the rule is switched off.Enum
DOMRuleIsDisabled
NoYes (enum)
NoNone
LocationIdWarehouse that acts as the fulfilment location for the rule.String
InventLocationId
NoInventLocation.InventLocationIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
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
RuleDataAreaIdCompany (data area) that the rule is tied to. The metadata gives no label for it.low confidenceString
SelectableDataArea
YesNone
RuleTypeKind of rule, for example minimum inventory, maximum orders, maximum distance or partial orders.Enum
DOMRuleType (enum)
YesNone
StartDateFirst date on which the rule applies.Date
DOMRuleStartDate
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • NameIdxPrimary index

    Name

    Unique, alternate key.

Relations (2)

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

  • FulfillmentGroup → RetailStoreLocatorGroup

    Join on FulfillmentGroupRecId = RetailStoreLocatorGroup.RecId

    Many DOMRules records → zero or one RetailStoreLocatorGroup record

  • InventLocation → InventLocation

    Join on LocationId = InventLocation.InventLocationId

    Many DOMRules records → zero or one InventLocation record

Get this data out

No public entity reads from DOMRules. Its data is only reachable through the application, a custom entity or a database export.

Need help with DOMRules in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk