Data entity
MCRSalesOrderCustomerPaymentEntity
Holds customer payment lines that are linked to a sales order in the call center. A record is identified by line number and sales order ID. It shows the payment amount, method, type and status, plus card, gift card and check details.
- Entity name
MCRSalesOrderCustomerPaymentEntity- Public entity name
CallCenterSalesOrderCustomerPayment- OData collection
CallCenterSalesOrderCustomerPayments- Category
Transaction- Module
Accounts receivable- Read-only
No- Data management enabled
Yes- Configuration key
MCRPayment- Keys
LineNumber, SalesOrderId- Staging table
MCRSalesOrderCustomerPaymentStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CallCenterSalesOrderCustomerPayments- Dataverse virtual table
mserp_mcrsalesordercustomerpaymententity. 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
MCRCustPaymTable· rootRetailChannelTable· InnerJoin toMCRCustPaymTable· read-onlyRetailMCRChannelTable· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTableSalesTable· InnerJoin toMCRCustPaymTableCreditCardCust· OuterJoin toMCRCustPaymTableRetailGiftCardTable· OuterJoin toMCRCustPaymTableOrigMCRCustPaymTable(tableMCRCustPaymTable) · OuterJoin toMCRCustPaymTableOrigSalesTable(tableSalesTable) · OuterJoin toOrigMCRCustPaymTable
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountAmount of the payment, in the payment currency. | RealAmountCur | No | Yes | MCRCustPaymTable.Amount | |
IsCheckAuthorizedShows whether the cheque has been authorised (yes or no). | Enum
| No | Yes | MCRCustPaymTable.CheckAuthorized | |
CheckNumberNumber of the cheque used for the payment. | StringMCRCheckNumber | No | Yes | MCRCustPaymTable.CheckNumber | |
CurrencyCodeCurrency of the payment. | String (3)CustCurrencyCode | No | Yes | Currency.CurrencyCode | MCRCustPaymTable.CurrencyCode |
CustomerAccountCustomer account that receives the invoice. | String (20)CustInvoiceAccount | Yes | Yes | CustTable.AccountNum | SalesTable.InvoiceAccount |
CustomerPaymentTypeKind of payment, for example on-account, cash, cheque, credit card, refund cheque, gift card or loyalty card. | Enum
| No | Yes | MCRCustPaymTable.CustPaymType | |
IsPlanRefundYes or no flag that marks the payment as a plan refund. | Enum
| No | Yes | MCRCustPaymTable.isPlanRefund | |
IsPrepayYes or no flag that marks the payment as a prepayment. | EnumMCRIsPrePay
| No | Yes | MCRCustPaymTable.IsPrepay | |
AuthorizationRetryNumberNumber of times authorisation has been retried for this payment. | IntegerMCRCCNumAuthRetries | No | Yes | MCRCustPaymTable.NumAuthRetry | |
IsOnAccountAuthorizedShows whether the on-account payment has been authorised (yes or no). | Enum
| No | Yes | MCRCustPaymTable.OnAccountAuthorized | |
PaymentSchedIdPayment schedule linked to this payment. | String (30)PaymSchedId | No | Yes | PaymSched.Name | MCRCustPaymTable.PaymSchedID |
PercentAmountPercentage value held for the payment. | RealPercent | No | Yes | MCRCustPaymTable.PercentAmount | |
PostedAmountAmount of the payment that has been posted. | RealAmountCur | No | Yes | MCRCustPaymTable.PostedAmount | |
UniqueCreditCardIdUnique ID of the card, written as a GUID string. | String (38)CreditCardUniqueCardId | No | Yes | CreditCardCust.UniqueCardId | |
IsCreditCardProcessedYes or no flag that appears to show whether the credit card payment has been processed. | Enum
| No | Yes | MCRCustPaymTable.IsCreditCardProcessed | |
RetailGiftCardIdNumber of the gift card. It identifies the record. | String (30)RetailGiftCardId | Yes | Yes | RetailGiftCardTable.entryId | |
StatusWhere the payment stands: not submitted, authorised, declined, posted or paid. | Enum
| No | Yes | MCRCustPaymTable.Status | |
RetailStoreCardTypeIdCard type used for the payment. It points to the card setup for the payment method and channel. | StringRetailStoreCardTypeId | No | Yes | RetailStoreTenderTypeCardTable.cardTypeId | MCRCustPaymTable.CardTypeId |
RetailStoreTenderTypeIdPayment method used, taken from the retail payment method and card setup. | StringMCRRetailStoreTenderTypeId | Yes | Yes | RetailStoreTenderTypeTable.tenderTypeId | MCRCustPaymTable.TenderTypeId |
RetailChannelIdIdentifier of the retail channel. | String (15)RetailChannelId | No | Yes | RetailChannelTable.RetailChannelId | |
SalesOrderIdSales order number that identifies the order. | String (20)SalesIdBase | Yes | Yes | SalesTable.SalesId | |
LineNumberLine number that orders the payment lines. | RealLineNum | No | Yes | MCRCustPaymTable.LineNum | |
OriginalRefundSalesOrderIdSales order number that identifies the order. | String (20)SalesIdBase | Yes | Yes | SalesTable.SalesId | |
OriginalRefundLineNumberLine number that orders the payment lines. | RealLineNum | No | Yes | MCRCustPaymTable.LineNum |
Foreign keys (5)
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.
CurrencyCode→Currency.CurrencyCode(key of Currency)Many MCRCustPaymTable records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
CustomerAccount→CustTable.AccountNum(key of CustTable)Many SalesTable records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
PaymentSchedId→PaymSched.Name(key of PaymSched)Many MCRCustPaymTable records → exactly one PaymSched record
PaymSched details: see PaymentScheduleEntity
RetailStoreCardTypeId→RetailStoreTenderTypeCardTable.cardTypeId(key of RetailStoreTenderTypeCardTable)Join on all of:
RetailStoreCardTypeId=RetailStoreTenderTypeCardTable.cardTypeId,RetailStoreTenderTypeId=RetailStoreTenderTypeCardTable.tenderTypeId,Channel(table field, not in this entity) =RetailStoreTenderTypeCardTable.ChannelZero or one MCRCustPaymTable record → exactly one RetailStoreTenderTypeCardTable record
RetailStoreTenderTypeCardTable details: see RetailStoreTenderTypeCardEntity
RetailStoreTenderTypeId→RetailStoreTenderTypeTable.tenderTypeId(key of RetailStoreTenderTypeTable)Join on all of:
RetailStoreTenderTypeId=RetailStoreTenderTypeTable.tenderTypeId,Channel(table field, not in this entity) =RetailStoreTenderTypeTable.ChannelMany MCRCustPaymTable records → exactly one RetailStoreTenderTypeTable record
RetailStoreTenderTypeTable details: see RetailStoreTenderTypeTableEntity, RetailStoreTenderTypeEntity, RetailCardInteractionTypeTableEntity
Need help with MCRSalesOrderCustomerPaymentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.