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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ValidFromFirst accounting date on which the assignment applies. | DateCAMCostAccountingDateValidFrom | No | None | |
CostAccountPolicyInstanceRelationTypeThe type of cost accounting policy used in this assignment, stored as a number. | Int64CAMCostAccountingPolicyInstanceRelationType | No | None | |
CostAccountThe cost accounting account that the policy is assigned to. Points to a record in the account table. | Int64CAMAccountRecId | Yes | CAMDataAccount.RecId | None |
CostAccountingLedgerThe cost accounting ledger that the assignment belongs to. Points to a cost accounting ledger record. | Int64CAMCostAccountingLedgerRecId | Yes | CAMDataCostAccountingLedger.RecId | None |
CostAccountPolicyThe account policy that is assigned. Points to a cost accounting account policy record. | Int64CAMCostAccountPolicyRecId | Yes | CAMDataCostAccountingAccountPolicy.RecId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ValidToLast accounting date on which the assignment applies. | DateCAMCostAccountingDateValidTo | No | None |
Indexes (1)
CostAccountIdxReplacement keyValidFrom,CostAccountPolicyInstanceRelationType,CostAccount,CostAccountingLedgerUnique, alternate key.
Relations (3)
Each relation joins CAMDataCostAccountingAccountPolicyAssignment to another table on the fields shown.
CostAccount→CAMDataAccountJoin on
CostAccount = CAMDataAccount.RecIdMany CAMDataCostAccountingAccountPolicyAssignment records → exactly one CAMDataAccount record
CostAccountPolicy→CAMDataCostAccountingAccountPolicyJoin on
CostAccountPolicy = CAMDataCostAccountingAccountPolicy.RecIdMany CAMDataCostAccountingAccountPolicyAssignment records → exactly one CAMDataCostAccountingAccountPolicy record
CostAccountingLedger→CAMDataCostAccountingLedgerJoin on
CostAccountingLedger = CAMDataCostAccountingLedger.RecIdMany 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.