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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CostRollupPolicyCost rollup policy that the rule belongs to. It is part of the key.Int64
CAMCostRollupPolicyRecId
YesCAMDataCostRollupPolicy.RecIdNone
CostObjectDimensionHierarchyNodeNode in the cost object dimension hierarchy that the rule applies to. It is part of the key.Int64
CAMDimensionHierarchyNodeRecId
YesCAMDataDimensionHierarchyNode.RecIdNone
CostElementDimensionHierarchyNodeNode in the cost element dimension hierarchy that the rule applies to. It is part of the key.Int64
CAMDimensionHierarchyNodeRecId
YesCAMDataDimensionHierarchyNode.RecIdNone
ValidFromDate and time when the rule starts being valid. It is part of the key.UtcDateTime
CAMCostAccountingRuleValidFromDateTime
NoNone
CostAccountingRuleCost accounting rule that the rollup rule links to.Int64
CAMCostAccountingRuleRecId
NoCAMDataCostAccountingRule.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SecondaryCostElementSecondary cost element, held as a dimension member, used by the rule.Int64
CAMCostElementDimensionMemberRecId
YesCAMDataDimensionMember.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ValidToDate and time when the rule stops being valid.UtcDateTime
CAMCostAccountingRuleValidToDateTime
NoNone

Indexes (2)

Relations (5)

Each relation joins CAMDataCostRollupRule to another table on the fields shown.

  • CostAccountingRule → CAMDataCostAccountingRule

    Join on CostAccountingRule = CAMDataCostAccountingRule.RecId

    Zero or one CAMDataCostRollupRule record → exactly one CAMDataCostAccountingRule record

  • CostRollupPolicy → CAMDataCostRollupPolicy

    Join on CostRollupPolicy = CAMDataCostRollupPolicy.RecId

    Exactly one CAMDataCostRollupRule record → zero or one CAMDataCostRollupPolicy record

  • CostObjectDimensionHierarchyNode → CAMDataDimensionHierarchyNode

    Join on CostObjectDimensionHierarchyNode = CAMDataDimensionHierarchyNode.RecId

    Many CAMDataCostRollupRule records → zero or one CAMDataDimensionHierarchyNode record

  • CostElementDimensionHierarchyNode → CAMDataDimensionHierarchyNode

    Join on CostElementDimensionHierarchyNode = CAMDataDimensionHierarchyNode.RecId

    Many CAMDataCostRollupRule records → exactly one CAMDataDimensionHierarchyNode record

  • DimensionMember → CAMDataDimensionMember

    Join on SecondaryCostElement = CAMDataDimensionMember.RecId

    Many 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.

Email sales@drdynamics.co.uk