Table

DOMCostFactor

DOM cost factors

Lists cost factors that can be used in fulfilment decisions. Each one has a description, a cost type, a calculation basis (simple or tiered) and a validity period. It is keyed by cost factor ID plus active flag and dates.

Table name
DOMCostFactor
Module
Commerce transactions and orders
Table group
Group
Table type
Regular
Data per company
No
Configuration key
None
Primary index
CostFactorIdUniqueIndex
Replacement key
CostFactorIdx
Key fields
CostFactorId, IsActive, ValidDateFrom, ValidDateTo, RecId
Model
DOM

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CostFactorIdCode that identifies the cost factor.String (32)
DOMCostFactorId
YesNone
IsActiveShows whether the cost factor is active (Yes or No).Enum
NoYes (enum)
NoNone
ValidDateFromFirst date on which the cost factor is valid.Date
DOMRuleStartDate
NoNone
ValidDateToLast date on which the cost factor is valid.Date
DOMRuleEndDate
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
CalculationBasisWhether the cost is calculated in a simple way or in tiers.Enum
DOMCalculationBases (enum)
NoNone
CostTypeType of cost: shipping or other.Enum
DOMCostTypes (enum)
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
DefaultCostValueDefault cost value for the factor. Currency is not stated in the metadata.Real
DOMDefaultCalculationValue
NoNone
DescriptionShort text describing the cost factor.String (100)
DOMCostFactorDescription
NoNone
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
OtherCostTypeFor cost type Other, the level the cost applies to: sales order, sales line or location.Enum
DOMOtherCostTypes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Get this data out

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

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

Email sales@drdynamics.co.uk