Table

DOMDistance

Distance

Holds the distance between a warehouse and the delivery address of a sales order. It stores both the straight distance and the road distance, with a flag showing whether a distance was available. Records link to InventLocation and SalesTable and carry a DOM run ID.

Table name
DOMDistance
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 (18)

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
DestinationAddressRecord ID of the postal address at the end of the distance.Int64
LogisticsPostalAddressRecId
NoNone
DistanceValueDistance between the two addresses.Real
DistanceValue
NoNone
DOMRunIdUnique number of the DOM run that created the record.Int64
DOMRunId
NoNone
InventLocationDataAreaIdCompany (data area) of the warehouse.String (6)
DirDataAreaId
NoNone
InventLocationIdWarehouse the distance is measured from.String
InventLocationId
YesInventLocation.InventLocationIdNone
IsDistanceAvailableShows whether a distance value is available (Yes or No).Enum
NoYes (enum)
NoNone
IsDistanceOverriddenByExtensionShows whether an extension has overridden the distance (Yes or No).Enum
NoYes (enum)
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OriginAddressRecord ID of the postal address at the start of the distance.Int64
LogisticsPostalAddressRecId
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
RoadCalculationExceptionType of problem met during the road distance calculation, such as no road route found or a mapping service failure.Enum
DOMExceptionType (enum)
NoNone
RoadDistanceValueRoad distance between the two addresses.Real
DistanceValue
NoNone
SalesIdSales order the distance relates to.String (20)
SalesId
YesSalesTable.SalesIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (6)

Relations (2)

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

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    One or more DOMDistance records → exactly one SalesTable record

  • InventLocationId → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    One or more DOMDistance records → exactly one InventLocation record

Get this data out

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

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

Email sales@drdynamics.co.uk