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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CostDistributionPolicyPoints to the cost distribution policy that the rule belongs to. The label calls it a cost behaviour policy.Int64
CAMCostDistributionPolicyRecId
YesCAMDataCostDistributionPolicy.RecIdNone
CostBehaviorCost behaviour that the rule applies to: unclassified, fixed cost, variable cost or total.Enum
CAMMatchingCostBehavior (enum)
NoNone
CostElementDimensionHierarchyNodePoints to the dimension hierarchy node for the cost element.Int64
CAMCostElementDimensionHierarchyNodeRecId
YesCAMDataDimensionHierarchyNode.RecIdNone
CostObjectDimensionHierarchyNodePoints to the dimension hierarchy node for the cost object.Int64
CAMCostObjectDimensionHierarchyNodeRecId
YesCAMDataDimensionHierarchyNode.RecIdNone
ValidFromDate and time when the rule starts to be valid.UtcDateTime
CAMCostAccountingRuleValidFromDateTime
NoNone
AllocationBasePoints to the allocation base used by the rule.Int64
CAMAllocationBaseRecId
YesCAMDataAllocationBase.RecIdNone
CostAccountingRulePoints to the cost accounting rule linked to this rule.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
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 CAMDataCostDistributionRule to another table on the fields shown.

  • CostAccountingRule → CAMDataCostAccountingRule

    Join on CostAccountingRule = CAMDataCostAccountingRule.RecId

    Zero or one CAMDataCostDistributionRule record → exactly one CAMDataCostAccountingRule record

  • CostElementDimensionHierarchyNode → CAMDataDimensionHierarchyNode

    Join on CostElementDimensionHierarchyNode = CAMDataDimensionHierarchyNode.RecId

    Many CAMDataCostDistributionRule records → exactly one CAMDataDimensionHierarchyNode record

  • CostObjectDimensionHierarchyNode → CAMDataDimensionHierarchyNode

    Join on CostObjectDimensionHierarchyNode = CAMDataDimensionHierarchyNode.RecId

    Many CAMDataCostDistributionRule records → zero or one CAMDataDimensionHierarchyNode record

  • CostDistributionPolicy → CAMDataCostDistributionPolicy

    Join on CostDistributionPolicy = CAMDataCostDistributionPolicy.RecId

    Many CAMDataCostDistributionRule records → exactly one CAMDataCostDistributionPolicy record

  • AllocationBase → CAMDataAllocationBase

    Join on AllocationBase = CAMDataAllocationBase.RecId

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

Email sales@drdynamics.co.uk