Table

CAMDataCostAccountingAccountPolicyAssignment

Account policy assignment

Links a cost accounting account to a cost accounting account policy for a given period. Each record is identified by the start date, the policy type, the account and the cost accounting ledger. It also stores an end date for the assignment.

Table name
CAMDataCostAccountingAccountPolicyAssignment
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
No
Configuration key
CAMCostAccounting
Primary index
None
Replacement key
CostAccountIdx
Key fields
ValidFrom, CostAccountPolicyInstanceRelationType, CostAccount, CostAccountingLedger
Model
CostAccounting

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ValidFromFirst accounting date on which the assignment applies.Date
CAMCostAccountingDateValidFrom
NoNone
CostAccountPolicyInstanceRelationTypeThe type of cost accounting policy used in this assignment, stored as a number.Int64
CAMCostAccountingPolicyInstanceRelationType
NoNone
CostAccountThe cost accounting account that the policy is assigned to. Points to a record in the account table.Int64
CAMAccountRecId
YesCAMDataAccount.RecIdNone
CostAccountingLedgerThe cost accounting ledger that the assignment belongs to. Points to a cost accounting ledger record.Int64
CAMCostAccountingLedgerRecId
YesCAMDataCostAccountingLedger.RecIdNone
CostAccountPolicyThe account policy that is assigned. Points to a cost accounting account policy record.Int64
CAMCostAccountPolicyRecId
YesCAMDataCostAccountingAccountPolicy.RecIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
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
ValidToLast accounting date on which the assignment applies.Date
CAMCostAccountingDateValidTo
NoNone

Indexes (1)

Relations (3)

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

  • CostAccount → CAMDataAccount

    Join on CostAccount = CAMDataAccount.RecId

    Many CAMDataCostAccountingAccountPolicyAssignment records → exactly one CAMDataAccount record

  • CostAccountPolicy → CAMDataCostAccountingAccountPolicy

    Join on CostAccountPolicy = CAMDataCostAccountingAccountPolicy.RecId

    Many CAMDataCostAccountingAccountPolicyAssignment records → exactly one CAMDataCostAccountingAccountPolicy record

  • CostAccountingLedger → CAMDataCostAccountingLedger

    Join on CostAccountingLedger = CAMDataCostAccountingLedger.RecId

    Many CAMDataCostAccountingAccountPolicyAssignment records → exactly one CAMDataCostAccountingLedger record

Get this data out

No public entity reads from CAMDataCostAccountingAccountPolicyAssignment. Its data is only reachable through the application, a custom entity or a database export.

Need help with CAMDataCostAccountingAccountPolicyAssignment in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk