Table
CostConfigurationCostElementDerivationRule
Cost element derivation rules
Rule that maps a measurement type and resource to a cost element within a derivation policy. It is the purchase-side rule set and includes a flag for inventory cost impact. The key is policy, measurement and resource.
- Table name
CostConfigurationCostElementDerivationRule- Module
Cost accounting service- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
None- Primary index
CostConfigurationCostElementDerivationPolicyIdx- Replacement key
None- Key fields
CostElementDerivationPolicy, Measurement, ResourceType- Model
CostAccountingService
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CostElementDerivationPolicyCost element derivation policy the rule belongs to. | Int64CostConfigurationCostElementDerivationPolicyRecId | Yes | CostConfigurationCostElementDerivationPolicy.RecId | CASCostConfigurationCostElementDerivationRulePurchaseEntity |
MeasurementType of measurement the rule applies to, such as extended price, discount, charge or non-recoverable tax. | EnumCostConfigurationMeasureTypeCostConfigurationMeasurementType (enum) | Yes | CASCostConfigurationCostElementDerivationRulePurchaseEntity | |
ResourceTypeResource the rule applies to. | String (30)CostConfigurationCostElementDerivationRuleResource | Yes | CASCostConfigurationCostElementDerivationRulePurchaseEntity | |
CostElementCost element assigned by the rule. | Int64CostConfigurationCostElementRecId | Yes | CostConfigurationCostElementTable.RecId | CASCostConfigurationCostElementDerivationRulePurchaseEntity |
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 | |
ImpactInventoryCostYes/no flag showing whether the rule affects inventory cost. | EnumNoYesIdNoYes (enum) | Yes | CASCostConfigurationCostElementDerivationRulePurchaseEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
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 (1)
CostConfigurationCostElementDerivationPolicyIdxPrimary indexCostElementDerivationPolicy,Measurement,ResourceTypeUnique, alternate key.
Relations (2)
Each relation joins CostConfigurationCostElementDerivationRule to another table on the fields shown.
CostElementDerivationPolicy→CostConfigurationCostElementDerivationPolicyJoin on
CostElementDerivationPolicy = CostConfigurationCostElementDerivationPolicy.RecIdMany CostConfigurationCostElementDerivationRule records → exactly one CostConfigurationCostElementDerivationPolicy record
CostElementTable→CostConfigurationCostElementTableJoin on
CostElement = CostConfigurationCostElementTable.RecIdMany CostConfigurationCostElementDerivationRule records → exactly one CostConfigurationCostElementTable record
Get this data out
Tables are not exposed directly. These public entities read from CostConfigurationCostElementDerivationRule; use one of them in Power BI, Power Platform or a data management project.
CASCostConfigurationCostElementDerivationRulePurchaseEntity· 5 fields from this table
Need help with CostConfigurationCostElementDerivationRule in a report, an integration or a migration? Talk to Dr Dynamics.