Data entity
CustAgingEntity
Read-only snapshot of customer aged balances. For each customer and company it shows the amount due split into up to six aging periods, in both transaction and reporting currency. It also shows payment amount, last payment and number of open invoices. The key is the aging period definition, customer account and company.
- Entity name
CustAgingEntity- Public entity name
CustAgedBalance- OData collection
CustAgedBalances- Category
Transaction- Module
Accounts receivable- Read-only
Yes- Data management enabled
Yes- Configuration key
Collections- Keys
AgingPeriodDefinition, CustAccount, Company- Staging table
CustAgingStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CustAgedBalances- Dataverse virtual table
mserp_custagingentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
CustAging· rootCustAgingLegalEntityView(tableCustAgingEntityView) · InnerJoin toCustAgingStatRepIntervalLineColumns· InnerJoin toCustAgingCustTable· InnerJoin toCustAgingDirPartyBaseEntity· InnerJoin toCustTable
Fields (30)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CustNameFull name of the party. | String (160)DirPartyName | No | Yes | DirPartyTable.Name | |
CustAccountThe customer account that the snapshot is for. | String (20)CustAccount | No | Yes | CustTable.AccountNum | CustAging.CustTable |
CompanyThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | CustAging.DataAreaId | |
AgingPeriodDefinitionThe aging period definition that the snapshot uses. Points to the statistics interval record. | String (60)CustVendReportName | No | Yes | StatRepInterval.Name | CustAging.StatRepInterval |
AgedByThe date basis used for aging: transaction date, due date or document date. | Enum
| No | Yes | CustAging.AgedBy | |
AgingDateThe date that the aging is calculated as of. | DateCustAgingDate | No | Yes | CustAging.AgingDate | |
SumOfAmountDueMstBalance due from the customer, in the accounting currency. | RealAmountMST | No | Yes | CustAgingLegalEntity.AmountDueMst | |
AgingPeriodLabel1Text label for the first aging period. | String (60)Description | No | Yes | computed in view | |
AgingPeriod1The balance in the first aging period (in accounting currency). | RealAmountMST | No | Yes | CustAging.AgingPeriod1 | |
AgingPeriod1ReportingCurrencyThe balance in the first aging period, in the reporting currency. | RealAmountMSTSecondary | No | Yes | CustAging.AgingPeriod1ReportingCurrency | |
AgingPeriodLabel2Text label for the second aging period. | String (60)Description | No | Yes | computed in view | |
AgingPeriod2The balance in the second aging period (in accounting currency). | RealAmountMST | No | Yes | CustAging.AgingPeriod2 | |
AgingPeriod2ReportingCurrencyThe balance in the second aging period, in the reporting currency. | RealAmountMSTSecondary | No | Yes | CustAging.AgingPeriod2ReportingCurrency | |
AgingPeriodLabel3Text label for the third aging period. | String (60)Description | No | Yes | computed in view | |
AgingPeriod3The balance in the third aging period (in accounting currency). | RealAmountMST | No | Yes | CustAging.AgingPeriod3 | |
AgingPeriod3ReportingCurrencyThe balance in the third aging period, in the reporting currency. | RealAmountMSTSecondary | No | Yes | CustAging.AgingPeriod3ReportingCurrency | |
AgingPeriodLabel4Text label for the fourth aging period. | String (60)Description | No | Yes | computed in view | |
AgingPeriod4The balance in the fourth aging period (in accounting currency). | RealAmountMST | No | Yes | CustAging.AgingPeriod4 | |
AgingPeriod4ReportingCurrencyThe balance in the fourth aging period, in the reporting currency. | RealAmountMSTSecondary | No | Yes | CustAging.AgingPeriod4ReportingCurrency | |
AgingPeriodLabel5Text label for the fifth aging period. | String (60)Description | No | Yes | computed in view | |
AgingPeriod5The balance in the fifth aging period (in accounting currency). | RealAmountMST | No | Yes | CustAging.AgingPeriod5 | |
AgingPeriod5ReportingCurrencyThe balance in the fifth aging period, in the reporting currency. | RealAmountMSTSecondary | No | Yes | CustAging.AgingPeriod5ReportingCurrency | |
AgingPeriodLabel6Text label for the sixth aging period. | String (60)Description | No | Yes | computed in view | |
AgingPeriod6The balance in the sixth aging period (in accounting currency). | RealAmountMST | No | Yes | CustAging.AgingPeriod6 | |
AgingPeriod6ReportingCurrencyThe balance in the sixth aging period, in the reporting currency. | RealAmountMSTSecondary | No | Yes | CustAging.AgingPeriod6ReportingCurrency | |
FirstNonzeroBalancePeriodThe number of the first aging period that has a balance other than zero. | IntegerCustAgingFirstNonzeroBalancePeriod | No | Yes | CustAging.FirstNonzeroBalancePeriod | |
LastPaymentAmountAmount of the most recent payment. | RealAmount | No | Yes | CustAgingLegalEntity.LastPaymentAmount | |
LastPaymentDateDate of the most recent payment. | DateTransDate | No | Yes | CustAgingLegalEntity.LastPaymentDate | |
NumOpenInvoicesCount of invoices that are still open. | Integer | No | Yes | CustAgingLegalEntity.NumOpenInvoices | |
MSTCurrencyCode of the accounting currency. | String (3)CurrencyCode | No | Yes | CustAgingLegalEntity.MSTCurrency |
Foreign keys (2)
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.
CustAccount→CustTable.AccountNum(key of CustTable)Many CustAging records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
AgingPeriodDefinition→StatRepInterval.Name(key of StatRepInterval)Many CustAging records → zero or one StatRepInterval record
StatRepInterval details: see AgingPeriodDefinitionEntity
Need help with CustAgingEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.