Table
CAMDataCostRollupRule
Cost rollup rules
Holds cost rollup rules that belong to a cost rollup policy. The key combines the policy, a cost object hierarchy node, a cost element hierarchy node and a valid-from date. Each rule can link to a cost accounting rule and a secondary cost element.
- Table name
CAMDataCostRollupRule- Module
Cross-module and platform- Table group
Main- Table type
Regular- Data per company
No- Configuration key
CAMCostAccounting- Primary index
None- Replacement key
RollupRuleIdx- Key fields
CostRollupPolicy, CostObjectDimensionHierarchyNode, CostElementDimensionHierarchyNode, ValidFrom- Model
CostAccounting
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CostRollupPolicyCost rollup policy that the rule belongs to. It is part of the key. | Int64CAMCostRollupPolicyRecId | Yes | CAMDataCostRollupPolicy.RecId | None |
CostObjectDimensionHierarchyNodeNode in the cost object dimension hierarchy that the rule applies to. It is part of the key. | Int64CAMDimensionHierarchyNodeRecId | Yes | CAMDataDimensionHierarchyNode.RecId | None |
CostElementDimensionHierarchyNodeNode in the cost element dimension hierarchy that the rule applies to. It is part of the key. | Int64CAMDimensionHierarchyNodeRecId | Yes | CAMDataDimensionHierarchyNode.RecId | None |
ValidFromDate and time when the rule starts being valid. It is part of the key. | UtcDateTimeCAMCostAccountingRuleValidFromDateTime | No | None | |
CostAccountingRuleCost accounting rule that the rollup rule links to. | 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 | |
SecondaryCostElementSecondary cost element, held as a dimension member, used by the rule. | Int64CAMCostElementDimensionMemberRecId | Yes | CAMDataDimensionMember.RecId | 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)
RollupRuleIdxReplacement keyCostRollupPolicy,CostObjectDimensionHierarchyNode,CostElementDimensionHierarchyNode,ValidFromUnique, alternate key.
CostAccountingRuleIdxUnique, alternate key.
Relations (5)
Each relation joins CAMDataCostRollupRule to another table on the fields shown.
CostAccountingRule→CAMDataCostAccountingRuleJoin on
CostAccountingRule = CAMDataCostAccountingRule.RecIdZero or one CAMDataCostRollupRule record → exactly one CAMDataCostAccountingRule record
CostRollupPolicy→CAMDataCostRollupPolicyJoin on
CostRollupPolicy = CAMDataCostRollupPolicy.RecIdExactly one CAMDataCostRollupRule record → zero or one CAMDataCostRollupPolicy record
CostObjectDimensionHierarchyNode→CAMDataDimensionHierarchyNodeJoin on
CostObjectDimensionHierarchyNode = CAMDataDimensionHierarchyNode.RecIdMany CAMDataCostRollupRule records → zero or one CAMDataDimensionHierarchyNode record
CostElementDimensionHierarchyNode→CAMDataDimensionHierarchyNodeJoin on
CostElementDimensionHierarchyNode = CAMDataDimensionHierarchyNode.RecIdMany CAMDataCostRollupRule records → exactly one CAMDataDimensionHierarchyNode record
DimensionMember→CAMDataDimensionMemberJoin on
SecondaryCostElement = CAMDataDimensionMember.RecIdMany CAMDataCostRollupRule records → exactly one CAMDataDimensionMember record
Get this data out
No public entity reads from CAMDataCostRollupRule. Its data is only reachable through the application, a custom entity or a database export.
Need help with CAMDataCostRollupRule in a report, an integration or a migration? Talk to Dr Dynamics.