Table

CustAgingLegalEntity

Customer aging snapshot

Holds customer aging figures per company, as part of a customer aging snapshot. Each row links to the snapshot header and to the legal entity. It stores balances, credit limit, disputed amounts, open invoices, last payment and credit management details, in the accounting and reporting currencies.

Table name
CustAgingLegalEntity
Module
Accounts receivable
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
Collections
Primary index
None
Replacement key
CustAgingLegalEntity
Key fields
CustAging, SourceLegalEntity
Model
Foundation

Fields (24)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustAgingPoints to the customer aging snapshot header.Int64
RefRecId
NoCustAging.RecIdNone
SourceLegalEntityPoints to the legal entity that the row relates to.Int64
RefRecId
NoCompanyInfo.RecIdNone
AmountDueMstBalance due from the customer, in the accounting currency.Real
AmountMST
NoCustAgingEntity
AmountDueMstSecondaryBalance due, in the reporting currency.Real
AmountMSTSecondary
NoNone
CreditLimitMstCredit limit of the customer, in the accounting currency.Real
CustCreditMaxMST
NoNone
CreditRemainingMstCredit still available to the customer, in the accounting currency.Real
CreditFreeValueMST
NoNone
CredManInCreditControlNumber that shows whether the customer is in credit management.Integer
Integer
NoNone
CredManOldestDebtDate of the oldest debt.Date
CredManOldestDebtDate
NoNone
CredManOverdueAmountAmount that is overdue.Real
CredManOverdueAmount
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DisputedTransactionBalanceMstTotal balance of disputed transactions, in the accounting currency.Real
AmountMST
NoNone
DisputedTransactionCountNumber of disputed transactions.Integer
FullQty
NoNone
LastPaymentAmountAmount of the most recent payment.Real
Amount
NoCustAgingEntity
LastPaymentDateDate of the most recent payment.Date
TransDate
NoCustAgingEntity
MSTCurrencyCode of the accounting currency.String (3)
CurrencyCode
NoCustAgingEntity
MSTSecondaryCurrencyCode of the reporting currency.String (3)
CurrencyCode
NoNone
NumOpenInvoicesCount of invoices that are still open.IntegerNoCustAgingEntity
OpenOrderBalanceMstSubtotal of open orders, in the accounting currency.Real
AmountMST
NoNone
PackingSlipBalanceMstSubtotal of packing slips, in the accounting currency.Real
AmountMST
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • CustAging → CustAging

    Join on CustAging = CustAging.RecId

    Many CustAgingLegalEntity records → zero or one CustAging record

  • SourceLegalEntity → CompanyInfo

    Join on SourceLegalEntity = CompanyInfo.RecId

    Many CustAgingLegalEntity records → zero or one CompanyInfo record

Get this data out

Tables are not exposed directly. These public entities read from CustAgingLegalEntity; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk