Table
CAMDataCostDistributionRule
Cost distribution rules
Holds cost distribution rules. Each rule is identified by a distribution policy, a cost behaviour, a cost element node, a cost object node and a start date. It also points to an allocation base and a cost accounting rule.
- Table name
CAMDataCostDistributionRule- Module
Cross-module and platform- Table group
Main- Table type
Regular- Data per company
No- Configuration key
CAMCostAccounting- Primary index
None- Replacement key
DistributionRuleIdx- Key fields
CostDistributionPolicy, CostBehavior, CostElementDimensionHierarchyNode, CostObjectDimensionHierarchyNode, ValidFrom- Model
CostAccounting
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CostDistributionPolicyPoints to the cost distribution policy that the rule belongs to. The label calls it a cost behaviour policy. | Int64CAMCostDistributionPolicyRecId | Yes | CAMDataCostDistributionPolicy.RecId | None |
CostBehaviorCost behaviour that the rule applies to: unclassified, fixed cost, variable cost or total. | EnumCAMMatchingCostBehavior (enum) | No | None | |
CostElementDimensionHierarchyNodePoints to the dimension hierarchy node for the cost element. | Int64CAMCostElementDimensionHierarchyNodeRecId | Yes | CAMDataDimensionHierarchyNode.RecId | None |
CostObjectDimensionHierarchyNodePoints to the dimension hierarchy node for the cost object. | Int64CAMCostObjectDimensionHierarchyNodeRecId | Yes | CAMDataDimensionHierarchyNode.RecId | None |
ValidFromDate and time when the rule starts to be valid. | UtcDateTimeCAMCostAccountingRuleValidFromDateTime | No | None | |
AllocationBasePoints to the allocation base used by the rule. | Int64CAMAllocationBaseRecId | Yes | CAMDataAllocationBase.RecId | None |
CostAccountingRulePoints to the cost accounting rule linked to this rule. | Int64CAMCostAccountingRuleRecId | No | CAMDataCostAccountingRule.RecId | None |
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 | |
ValidToDate and time when the rule stops being valid. | UtcDateTimeCAMCostAccountingRuleValidToDateTime | No | None |
Indexes (2)
DistributionRuleIdxReplacement keyCostDistributionPolicy,CostBehavior,CostElementDimensionHierarchyNode,CostObjectDimensionHierarchyNode,ValidFromUnique, alternate key.
CostAccountingRuleIdxUnique, alternate key.
Relations (5)
Each relation joins CAMDataCostDistributionRule to another table on the fields shown.
CostAccountingRule→CAMDataCostAccountingRuleJoin on
CostAccountingRule = CAMDataCostAccountingRule.RecIdZero or one CAMDataCostDistributionRule record → exactly one CAMDataCostAccountingRule record
CostElementDimensionHierarchyNode→CAMDataDimensionHierarchyNodeJoin on
CostElementDimensionHierarchyNode = CAMDataDimensionHierarchyNode.RecIdMany CAMDataCostDistributionRule records → exactly one CAMDataDimensionHierarchyNode record
CostObjectDimensionHierarchyNode→CAMDataDimensionHierarchyNodeJoin on
CostObjectDimensionHierarchyNode = CAMDataDimensionHierarchyNode.RecIdMany CAMDataCostDistributionRule records → zero or one CAMDataDimensionHierarchyNode record
CostDistributionPolicy→CAMDataCostDistributionPolicyJoin on
CostDistributionPolicy = CAMDataCostDistributionPolicy.RecIdMany CAMDataCostDistributionRule records → exactly one CAMDataCostDistributionPolicy record
AllocationBase→CAMDataAllocationBaseJoin on
AllocationBase = CAMDataAllocationBase.RecIdMany CAMDataCostDistributionRule records → exactly one CAMDataAllocationBase record
Get this data out
No public entity reads from CAMDataCostDistributionRule. Its data is only reachable through the application, a custom entity or a database export.
Need help with CAMDataCostDistributionRule in a report, an integration or a migration? Talk to Dr Dynamics.