Table
CAMDataCostAllocationRule
Cost allocation rules
Holds cost allocation rules. Each record is identified by the allocation policy, the cost object hierarchy node, the cost behavior and the start date. It also links to a cost accounting rule and an allocation base.
- Table name
CAMDataCostAllocationRule- Module
Cross-module and platform- Table group
Main- Table type
Regular- Data per company
No- Configuration key
CAMCostAccounting- Primary index
None- Replacement key
AllocationRuleIdx- Key fields
CostAllocationPolicy, CostObjectDimensionHierarchyNode, CostBehavior, ValidFrom- Model
CostAccounting
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CostAllocationPolicyThe policy that the rule belongs to. Points to a cost allocation policy record. | Int64CAMCostAllocationPolicyRecId | Yes | CAMDataCostAllocationPolicy.RecId | None |
CostObjectDimensionHierarchyNodeThe node in the cost object dimension hierarchy that the rule applies to. Points to a dimension hierarchy node record. | Int64CAMDimensionHierarchyNodeRecId | Yes | CAMDataDimensionHierarchyNode.RecId | None |
CostBehaviorKind of cost behavior: Unclassified, Fixed cost, Variable cost or Total. | EnumCAMMatchingCostBehavior (enum) | No | None | |
ValidFromDate and time when the rule starts to be valid. | UtcDateTimeCAMCostAccountingRuleValidFromDateTime | No | None | |
AllocationBaseThe allocation base used by the rule. Points to an allocation base record. | Int64CAMAllocationBaseRecId | Yes | CAMDataAllocationBase.RecId | None |
CostAccountingRuleThe cost accounting rule that this allocation rule is based on. Points to a cost accounting rule record. | 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)
AllocationRuleIdxReplacement keyCostAllocationPolicy,CostObjectDimensionHierarchyNode,CostBehavior,ValidFromUnique, alternate key.
CostAccountingRuleIdxUnique, alternate key.
Relations (4)
Each relation joins CAMDataCostAllocationRule to another table on the fields shown.
CostAccountingRule→CAMDataCostAccountingRuleJoin on
CostAccountingRule = CAMDataCostAccountingRule.RecIdZero or one CAMDataCostAllocationRule record → exactly one CAMDataCostAccountingRule record
CostAllocationPolicy→CAMDataCostAllocationPolicyJoin on
CostAllocationPolicy = CAMDataCostAllocationPolicy.RecIdExactly one CAMDataCostAllocationRule record → zero or one CAMDataCostAllocationPolicy record
CostObjectDimensionHierarchyNode→CAMDataDimensionHierarchyNodeJoin on
CostObjectDimensionHierarchyNode = CAMDataDimensionHierarchyNode.RecIdMany CAMDataCostAllocationRule records → zero or one CAMDataDimensionHierarchyNode record
AllocationBase→CAMDataAllocationBaseJoin on
AllocationBase = CAMDataAllocationBase.RecIdMany CAMDataCostAllocationRule records → exactly one CAMDataAllocationBase record
Get this data out
No public entity reads from CAMDataCostAllocationRule. Its data is only reachable through the application, a custom entity or a database export.
Need help with CAMDataCostAllocationRule in a report, an integration or a migration? Talk to Dr Dynamics.