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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CostFactorIdCode that identifies the cost factor. | String (32)DOMCostFactorId | Yes | None | |
IsActiveShows whether the cost factor is active (Yes or No). | EnumNoYes (enum) | No | None | |
ValidDateFromFirst date on which the cost factor is valid. | DateDOMRuleStartDate | No | None | |
ValidDateToLast date on which the cost factor is valid. | DateDOMRuleEndDate | 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 | |
CalculationBasisWhether the cost is calculated in a simple way or in tiers. | EnumDOMCalculationBases (enum) | No | None | |
CostTypeType of cost: shipping or other. | EnumDOMCostTypes (enum) | Yes | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DefaultCostValueDefault cost value for the factor. Currency is not stated in the metadata. | RealDOMDefaultCalculationValue | No | None | |
DescriptionShort text describing the cost factor. | String (100)DOMCostFactorDescription | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OtherCostTypeFor cost type Other, the level the cost applies to: sales order, sales line or location. | EnumDOMOtherCostTypes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
CostFactorIdUniqueIndexPrimary indexUnique.
CostFactorIdxReplacement keyCostFactorId,IsActive,ValidDateFrom,ValidDateTo,RecIdUnique, alternate key.
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.