BPA data model

Fact - Sales sub-ledger

BPA 2.11.3518.3 · F&O reference 10.0.49 · extracted 28 November 2026

One row is a sales sub-ledger entry, identified by its own sub-ledger key. It belongs to the Order to cash value chain and links to invoice, payment matched, payment matching and sub-ledger numbers. It helps answer questions about customer balances, aging and matched amounts in accounting, reporting and transaction currency.

Key: Sales subledger key.

Kind
Fact
Value chains
Order to cash
Source table
dmo_salessubledgerfact
Columns
24
Measures
7

Use it in Power BI and Fabric

Power BI table
Fact - Sales sub-ledger
Fabric / SQL table
dmo_salessubledgerfact
Column reference
'Fact - Sales sub-ledger'[Amount (Accounting)]

Columns (24)

Column and descriptionTypeKey and relationships
Accounting date keySource column dmo_accountingdatekeyKey that links each row to the accounting date in Dim - Date (Accounting).int64
Amount (Accounting)Source column dmo_salessubledgeraccountingamountEntry amount in the accounting currency.decimal—
Amount (Exchange adjustment accounting)Source column dmo_salessubledgerexchangeadjustmentaccountingamountExchange rate adjustment amount in the accounting currency.decimal—
Amount (Exchange adjustment reporting)Source column dmo_salessubledgerexchangeadjustmentreportingamountExchange rate adjustment amount in the reporting currency.decimal—
Amount (Matched accounting)Source column dmo_salessubledgermatchedaccountingamountMatched amount in the accounting currency.decimal—
Amount (Matched reporting)Source column dmo_salessubledgermatchedreportingamountMatched amount in the reporting currency.decimal—
Amount (Matched transaction)Source column dmo_salessubledgermatchedamountMatched amount in the transaction currency.decimal—
Amount (Reporting)Source column dmo_salessubledgerreportingamountEntry amount in the reporting currency.decimal—
Amount (Transaction)Source column dmo_salessubledgeramountEntry amount in the transaction currency.decimal—
Buying party keySource column dmo_buyingpartykeyKey that links each row to the customer in Dim - Buying party.int64
Buying party postal address keySource column dmo_buyingpartypostaladdresskeyKey for the postal address of the buying party; the model shows no relationship for it.int64—
CurrencySource column dmo_salessubledgercurrencyCurrency code of the entry; links to Dim - Currency.string
Date (Sales invoice due)Source column dmo_salesinvoiceduedateDue date of the sales invoice.dateTime—
Invoice number keySource column dmo_salesinvoicenumberkeyKey that links each row to the invoice number in Dim - Sales invoice number, and also to Dim - Sales payment matching number.int64
Sales subledger keySource column dmo_salessubledgerkeyUnique key of each row in this table.int64Key
Ledger keySource column dmo_ledgerkeyKey that links each row to the ledger dimension table dmo_ledgerdimension.int64
Party keySource column dmo_partykeyKey that links each row to the party in Dim - Party.int64
Primary nameSource column dmo_salessubledgerprimarynamePrimary name of the party on the entry.string—
Sales payment matched number keySource column dmo_salespaymentmatchednumberkeyKey that links each row to the matched number in Dim - Sales payment matched number.int64
Sales payment matching number keySource column dmo_salespaymentmatchingnumberkeyKey to the matching number in Dim - Sales payment matching number; this relationship is inactive.int64
Sales payment number keySource column dmo_salespaymentnumberkeyKey for the sales payment number; the model shows no relationship for it.int64—
StatusPurpose not clear from the metadata.low confidenceCalculated (type not stated in the model)—
Subledger number keySource column dmo_subledgernumberkeyKey that links each row to the sub-ledger number in Dim - Sub-ledger number.int64
Accounting dateSource column dmo_accountingdateAccounting date of the entry.dateTime—

Measures on this table (7)

What each measure calculates, and the columns and measures it uses. All measures

  • Sales sub-ledger amount metric

    Gives the sales sub-ledger amount in the transaction, accounting or reporting currency chosen by the currency selection, using transaction currency if none matches.

    Folder: Metrics › Amount · Format: Set dynamically

    Uses: Currency selectionSales sub-ledger amount (Accounting) metricSales sub-ledger amount (Reporting) metricSales sub-ledger amount (Transaction) metric

    Used by: Sales sub-ledger beginning balance metric

  • Sales sub-ledger beginning balance metric

    Gives the sales sub-ledger amount minus the settled paid amount for rows dated up to the balance as-of date, limited by the invoice status selection (all, closed or open), and blank when the result is zero.

    Folder: Metrics › Amount · Format: Set dynamically

    Uses: Dim - Date (Accounting) › DateInvoice status selectionMAX Balance as of dateSales payment matching paid amount (Settled) metricSales sub-ledger MAX aged by date metricSales sub-ledger amount metric

  • Sales sub-ledger credit amount (Single currency only) metric

    Gives the sales sub-ledger credit amount only when a currency filter is applied, and blank otherwise.

    Folder: Metrics › Amount · Format: Whole number

    Uses: Dim - Currency › CurrencySales sub-ledger credit amount metric

  • Sales sub-ledger credit amount metric

    Gives the sales sub-ledger credit amount in the currency set by the currency selection, using the transaction currency version as the default.

    Folder: Metrics › Amount · Format: Set dynamically

    Uses: Currency selectionSales sub-ledger credit amount (Reporting) metricSales sub-ledger credit amount (Transaction) metric

    Used by: Sales sub-ledger credit amount (Single currency only) metric

  • Sales sub-ledger debit amount (Single currency only) metric

    Gives the sales sub-ledger debit amount only when a currency filter is applied, and blank otherwise.

    Folder: Metrics › Amount · Format: Whole number

    Uses: Dim - Currency › CurrencySales sub-ledger debit amount metric

  • Sales sub-ledger debit amount metric

    Gives the sales sub-ledger debit amount in the currency set by the currency selection, using the transaction currency version as the default.

    Folder: Metrics › Amount · Format: Set dynamically

    Uses: Currency selectionSales sub-ledger debit amount (Transaction) metricSales sub-ledger debit amount (Accounting) metric

    Used by: Sales sub-ledger debit amount (Single currency only) metric

  • Sales sub-ledger row count metric

    Counts the rows in the sales sub-ledger table.

    Folder: Metrics › Amount · Format: Whole number

Relationships (10)

From this table (10)

Related tableColumnsCardinalityCross-filterStatus
Dim - Date (Accounting)Accounting date key → Date keyMany to oneSingle directionActive
Dim - Buying partyBuying party key → Buying party keyMany to oneSingle directionActive
Dim - CurrencyCurrency → CurrencyMany to oneSingle directionActive
Dim - Sales invoice numberInvoice number key → Sales invoice number keyMany to oneSingle directionActive
Dim - Sales payment matching numberInvoice number key → Sales payment matching number keyMany to oneSingle directionActive
Ledger dimension (dmo_ledgerdimension)Ledger key → dmo_ledgerkeyMany to oneSingle directionActive
Dim - PartyParty key → Party keyMany to oneSingle directionActive
Dim - Sales payment matched numberSales payment matched number key → Sales payment matched number keyMany to oneSingle directionActive
Dim - Sales payment matching numberSales payment matching number key → Sales payment matching number keyMany to oneSingle directionInactiveInactive: activate it in a measure (USERELATIONSHIP)
Dim - Sub-ledger numberSubledger number key → Sub-ledger number keyMany to oneSingle directionActive

Source F&O entities

Source F&O entities: not determined from the metadata of BPA 2.11.3518.3. The F&O entities BPA reads are listed for the model as a whole.

Building on BPA in Power BI or Fabric? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk