BPA data model
Fact - Sales payment matching
- Fact
BPA 2.11.3518.3 · F&O reference 10.0.49 · extracted 28 November 2026
One row is a sales payment matching record, identified by its own payment matching key. It belongs to the Order to cash value chain and links to the matched number, matching number and sub-ledger number. It helps answer questions about how much customers paid and settled, and what cash discount was taken, in accounting, reporting and transaction currency.
Key: Sales payment matching key.
- Kind
- Fact
- Value chains
- Order to cash
- Source table
dmo_salespaymentmatchingfact- Columns
- 18
- Measures
- 3
Use it in Power BI and Fabric
- Power BI table
Fact - Sales payment matching- Fabric / SQL table
dmo_salespaymentmatchingfact- Column reference
'Fact - Sales payment matching'[Amount (Cash discount)]
- Date relationships: Accounting date key → Dim - Date (Accounting).
- Other date columns (Date (Payment matching), Accounting date) aren't related to a date table — create your own relationship to slice by them.
- Amounts in transaction currency, or with no stated currency, can mix currencies: slice by Currency, or use accounting/reporting amounts for totals.
Columns (18)
| Column and description | Type | Key and relationships |
|---|---|---|
Accounting date keySource column dmo_accountingdatekeyKey that links each row to the accounting date in Dim - Date (Accounting). | int64 |
|
Amount (Cash discount)Source column dmo_salespaymentmatchingcashdiscountamountCash discount amount on the matching; currency not stated in the model. | 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_salespaymentmatchingcurrencyCurrency code of the matching; links to Dim - Currency. | string |
|
Date (Payment matching)Source column dmo_salespaymentmatchingdateDate on which the payment was matched. | dateTime | — |
GroupSource column dmo_salespaymentmatchinggroupA decimal value named Group; what it holds is not clear from the model.low confidence | decimal | — |
Sales payment matching keySource column dmo_salespaymentmatchingkeyUnique key of each row in this table. | int64 | Key |
Ledger keySource column dmo_ledgerkeyKey that links each row to the ledger dimension table dmo_ledgerdimension. | int64 |
|
Paid amount (Accounting)Source column dmo_salespaymentmatchingaccountingpaidamountPaid amount in the accounting currency. | decimal | — |
Paid amount (Reporting)Source column dmo_salespaymentmatchingreportingpaidamountPaid amount in the reporting currency. | decimal | — |
Paid amount (Transaction)Source column dmo_salespaymentmatchingpaidamountPaid amount in the transaction currency. | decimal | — |
Party keySource column dmo_partykeyKey that links each row to the party in Dim - Party. | int64 |
|
Primary nameSource column dmo_salespaymentmatchingprimarynamePrimary name of the party on the matching. | 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 that links each row to the matching number in Dim - Sales payment matching number. | int64 |
|
Sub-ledger 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 matching. | dateTime | — |
Measures on this table (3)
What each measure calculates, and the columns and measures it uses. All measures
Sales payment matching amount (Cash discount) metric
Adds up the cash discount amount on the sales payment matching rows.
Folder: Metrics · Format: Set dynamically
Uses: Fact - Sales payment matching › Amount (Cash discount)
Used by: Sales payment amount (Matching cash discount) metric
Sales payment matching paid amount (Settled) metric
Gives the matched paid amount for payment matchings linked to sales sub-ledger records, counting only matchings dated on or before the balance as-of date.
Folder: Metrics · Format: Set dynamically
Uses: Fact - Sales payment matching › Date (Payment matching)Fact - Sales payment matching › Sales payment matching number keyFact - Sales sub-ledger › Sales payment matching number keyFact - Sales sub-ledger › Sales subledger keyMAX Balance as of dateSales payment matching paid amount metric
Sales payment matching paid amount metric
Gives the matched paid amount in the transaction, accounting or reporting currency chosen by the currency selection, using transaction currency if none matches.
Folder: Metrics · Format: Set dynamically
Uses: Currency selectionSales payment matching paid amount (Reporting) metricSales payment matching paid amount (Accounting) metricSales payment matching paid amount (Transaction) metric
Used by: Sales payment matching paid amount (Settled) metric
Relationships (8)
From this table (8)
| Related table | Columns | Cardinality | Cross-filter | Status |
|---|---|---|---|---|
| Dim - Date (Accounting) | Accounting date key → Date key | Many to one | Single direction | Active |
| Dim - Buying party | Buying party key → Buying party key | Many to one | Single direction | Active |
| Dim - Currency | Currency → Currency | Many to one | Single direction | Active |
| Ledger dimension (dmo_ledgerdimension) | Ledger key → dmo_ledgerkey | Many to one | Single direction | Active |
| Dim - Party | Party key → Party key | Many to one | Single direction | Active |
| Dim - Sales payment matched number | Sales payment matched number key → Sales payment matched number key | Many to one | Single direction | Active |
| Dim - Sales payment matching number | Sales payment matching number key → Sales payment matching number key | Many to one | Single direction | Active |
| Dim - Sub-ledger number | Sub-ledger number key → Sub-ledger number key | Many to one | Single direction | Active |
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.