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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CostAllocationPolicyThe policy that the rule belongs to. Points to a cost allocation policy record.Int64
CAMCostAllocationPolicyRecId
YesCAMDataCostAllocationPolicy.RecIdNone
CostObjectDimensionHierarchyNodeThe node in the cost object dimension hierarchy that the rule applies to. Points to a dimension hierarchy node record.Int64
CAMDimensionHierarchyNodeRecId
YesCAMDataDimensionHierarchyNode.RecIdNone
CostBehaviorKind of cost behavior: Unclassified, Fixed cost, Variable cost or Total.Enum
CAMMatchingCostBehavior (enum)
NoNone
ValidFromDate and time when the rule starts to be valid.UtcDateTime
CAMCostAccountingRuleValidFromDateTime
NoNone
AllocationBaseThe allocation base used by the rule. Points to an allocation base record.Int64
CAMAllocationBaseRecId
YesCAMDataAllocationBase.RecIdNone
CostAccountingRuleThe cost accounting rule that this allocation rule is based on. Points to a cost accounting rule record.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 (4)

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

  • CostAccountingRule → CAMDataCostAccountingRule

    Join on CostAccountingRule = CAMDataCostAccountingRule.RecId

    Zero or one CAMDataCostAllocationRule record → exactly one CAMDataCostAccountingRule record

  • CostAllocationPolicy → CAMDataCostAllocationPolicy

    Join on CostAllocationPolicy = CAMDataCostAllocationPolicy.RecId

    Exactly one CAMDataCostAllocationRule record → zero or one CAMDataCostAllocationPolicy record

  • CostObjectDimensionHierarchyNode → CAMDataDimensionHierarchyNode

    Join on CostObjectDimensionHierarchyNode = CAMDataDimensionHierarchyNode.RecId

    Many CAMDataCostAllocationRule records → zero or one CAMDataDimensionHierarchyNode record

  • AllocationBase → CAMDataAllocationBase

    Join on AllocationBase = CAMDataAllocationBase.RecId

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

Email sales@drdynamics.co.uk