Data entity
CustLedgerAccountsCDREntity
Read-only entity with customer ledger accounts per posting profile and account code or group. It holds accounts for items such as summary, write-off, cash discount liabilities, sales tax prepayments and clearing. Five extra JSON text fields carry the ledger dimension values for these accounts. The key is SourceKey.
- Entity name
CustLedgerAccountsCDREntity- Public entity name
CustLedgerAccountsCDREntity- OData collection
CustLedgerAccountsCDREntities- Category
Transaction- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
LedgerBasic- Keys
SourceKey- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CustLedgerAccountsCDREntities- Dataverse virtual table
mserp_custledgeraccountscdrentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
CustLedgerAccounts· root
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountCodeShows whether the setup applies to one customer (Table), a customer group (Group) or all customers (All). | EnumPostingProfileAccountCode
| No | Yes | CustLedgerAccounts.AccountCode | |
ClearingLedgerDimensionLiquidity account used for payments. Points to Dimension code combination. | Int64LedgerDimensionDefaultAccount | No | Yes | DimensionAttributeValueCombination.RecId | CustLedgerAccounts.ClearingLedgerDimension |
CollectionLetterCourseCollection letter sequence to use. Points to Collection letter setup. | StringCollectionLetterCourseId | No | Yes | CustCollectionLetterTable.CollectionLetterCourse | CustLedgerAccounts.CollectionLetterCourse |
CustInterestInterest code to use. Points to Customer interest codes. | Int64CustInterestID | No | No (private) | CustInterest.RecId | CustLedgerAccounts.CustInterest |
LiabilitiesForDiscountLedgerDimensionAccount for liabilities for discounts. Points to Dimension code combination. | Int64LedgerDimensionDefaultAccount | No | Yes | DimensionAttributeValueCombination.RecId | CustLedgerAccounts.LiabilitiesForDiscountLedgerDimension |
NumCustomer account number or customer group, depending on the account code. Points to Customer groups or Customers. | String (20)PostingProfileAccountRelation | No | Yes | CustGroup.CustGroupCustTable.AccountNum | CustLedgerAccounts.Num |
PostingProfileThe customer posting profile these accounts belong to. Points to Customer posting profiles. | StringCustPostingProfile | Yes | Yes | CustLedger.PostingProfile | CustLedgerAccounts.PostingProfile |
SummaryLedgerDimensionSummary account. Points to Dimension code combination. | Int64LedgerDimensionDefaultAccount | No | Yes | DimensionAttributeValueCombination.RecId | CustLedgerAccounts.SummaryLedgerDimension |
VATPrepaymentsLedgerDimensionAccount for sales tax prepayments. Points to Dimension code combination. | Int64LedgerDimensionDefaultAccount | No | Yes | DimensionAttributeValueCombination.RecId | CustLedgerAccounts.VATPrepaymentsLedgerDimension |
WriteOffLedgerDimensionAccount for write-offs. Points to Dimension code combination. | Int64LedgerDimensionDefaultAccount | No | Yes | DimensionAttributeValueCombination.RecId | CustLedgerAccounts.WriteOffLedgerDimension |
ClearingLedgerDimensionValuesJsonText in JSON format holding the ledger dimension values of the clearing account. | String | No | Yes | computed | |
LiabilitiesForDiscountLedgerDimensionValuesJsonText in JSON format holding the ledger dimension values of the account for discount liabilities. | String | No | Yes | computed | |
SummaryLedgerDimensionValuesJsonText in JSON format holding the ledger dimension values of the summary account. | String | No | Yes | computed | |
VATPrepaymentsLedgerDimensionValuesJsonText in JSON format holding the ledger dimension values of the sales tax prepayments account. | String | No | Yes | computed | |
WriteOffLedgerDimensionValuesJsonText in JSON format holding the ledger dimension values of the write-off account. | String | No | Yes | computed | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | CustLedgerAccounts.RecId | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | CustLedgerAccounts.DataAreaId | |
SysModifiedDateTimeThe date and time when the record was last changed. | UtcDateTimeModifiedDateTime | No | Yes | CustLedgerAccounts.ModifiedDateTime |
Foreign keys (10)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
ClearingLedgerDimension→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many CustLedgerAccounts records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
CollectionLetterCourse→CustCollectionLetterTable.CollectionLetterCourse(key of CustCollectionLetterTable)Many CustLedgerAccounts records → zero or one CustCollectionLetterTable record
CustCollectionLetterTable details: see CustCollectionLetterCourseCdsEntity
CustInterest→CustInterest.RecId(key of CustInterest)Many CustLedgerAccounts records → zero or one CustInterest record
CustInterest details: see CustInterestCdsEntity, CustBillingClassificationEntity, CustBillingCodeVersionEntity
LiabilitiesForDiscountLedgerDimension→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many CustLedgerAccounts records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Num→CustGroup.CustGroup(key of CustGroup)Relation also requires AccountCode = TableGroupAll::GroupId.
Many CustLedgerAccounts records → zero or one CustGroup record
CustGroup details: see CustCustomerGroupEntity, RetailPriceGroupApplicabilityRuleEntity, WHSCustomerGroupProductFilterEntity
Num→CustTable.AccountNum(key of CustTable)Relation also requires AccountCode = TableGroupAll::Table.
Many CustLedgerAccounts records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
PostingProfile→CustLedger.PostingProfile(key of CustLedger)Many CustLedgerAccounts records → exactly one CustLedger record
CustLedger details: see CustCustomerPostingProfileHeaderEntity, CustCustomerPostingProfileLineEntity, InventInventoryProfileCustomerVendorLedgerEntity
SummaryLedgerDimension→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many CustLedgerAccounts records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
VATPrepaymentsLedgerDimension→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many CustLedgerAccounts records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
WriteOffLedgerDimension→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many CustLedgerAccounts records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Need help with CustLedgerAccountsCDREntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.