Table

CAMDataCostAccountingLedgerPolicyAssignment

Accounting ledger policy assignments

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

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

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CostAccountingLedgerThe cost accounting ledger that receives the policy. Points to a cost accounting ledger record.Int64
CAMCostAccountingLedgerRecId
YesCAMDataCostAccountingLedger.RecIdNone
ValidFromFirst accounting date on which the assignment applies.Date
CAMCostAccountingDateValidFrom
NoNone
CostAccountingLedgerPolicyInstanceRelationTypeThe type of cost accounting policy used in this assignment, stored as a number.Int64
CAMCostAccountingPolicyInstanceRelationType
NoNone
CostAccountingLedgerPolicyThe ledger policy that is assigned. Points to a cost accounting ledger policy record.Int64
CAMCostAccountingLedgerPolicyRecId
YesCAMDataCostAccountingLedgerPolicy.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 (2)

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

  • CostAccountingLedger → CAMDataCostAccountingLedger

    Join on CostAccountingLedger = CAMDataCostAccountingLedger.RecId

    Many CAMDataCostAccountingLedgerPolicyAssignment records → exactly one CAMDataCostAccountingLedger record

  • CostAccountingLedgerPolicy → CAMDataCostAccountingLedgerPolicy

    Join on CostAccountingLedgerPolicy = CAMDataCostAccountingLedgerPolicy.RecId

    Many CAMDataCostAccountingLedgerPolicyAssignment records → exactly one CAMDataCostAccountingLedgerPolicy record

Get this data out

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

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

Email sales@drdynamics.co.uk