Table
RetailSalesTableAsynchronousPayment
Asynchronous payment
Holds asynchronous payments, such as payment links, for a sales order. The key is the sales order and the merchant reference. Each row has the amount, payment link details, status and expiry.
- Table name
RetailSalesTableAsynchronousPayment- Module
Commerce transactions and orders- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
SalesReferenceIdx- Replacement key
None- Key fields
SalesId, ReferenceId- Model
Foundation
Fields (25)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesIdThe sales order that the payment belongs to. | String (20)SalesId | Yes | SalesTable.SalesId | RetailSalesTableAsynchronousPaymentEntity |
ReferenceIdReference given by the merchant to identify the payment. | String (100)RetailAsynchronousPaymentReferenceId | Yes | RetailSalesTableAsynchronousPaymentEntity | |
AmountPayment amount in the transaction currency. | RealAmountCur | No | RetailSalesTableAsynchronousPaymentEntity | |
AsynchronousPaymentStatusStatus of the asynchronous payment: active, pending, paid, cancelled or error. | EnumRetailAsynchronousPaymentStatus (enum) | No | RetailSalesTableAsynchronousPaymentEntity | |
AuthorizedAmountAmount that has been authorized, in the transaction currency. | RealAmountCur | No | RetailSalesTableAsynchronousPaymentEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyCodeCurrency code of the payment. | String (3)CurrencyCode | No | RetailSalesTableAsynchronousPaymentEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExpirationDateTimeDate and time when the payment expires. | UtcDateTimeRetailAsynchronousPaymentExpirationDateTime | No | RetailSalesTableAsynchronousPaymentEntity | |
IsNonRecurringYes/No value showing whether the payment is non-recurring. | EnumNoYesIdNoYes (enum) | No | RetailSalesTableAsynchronousPaymentEntity | |
IsPreauthorizationOnlyYes/No value showing whether the payment only reserves funds and does not collect them. | EnumRetailAsynchronousPaymentIsPreauthorizationOnlyNoYes (enum) | No | RetailSalesTableAsynchronousPaymentEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentLinkIdIdentifier of the payment link. | String (100)RetailAsynchronousPaymentLinkId | No | RetailSalesTableAsynchronousPaymentEntity | |
PaymentLinkStatusStatus of the payment link: active, paid, expired, canceled or payment error. | EnumRetailAsynchronousPaymentLinkStatus (enum) | No | RetailSalesTableAsynchronousPaymentEntity | |
PaymentLinkUrlWeb address of the payment link. | String (255)RetailURL | No | RetailSalesTableAsynchronousPaymentEntity | |
PaymentTypeKind of asynchronous payment, for example a payment link. | EnumRetailAsynchronousPaymentType (enum) | No | RetailSalesTableAsynchronousPaymentEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ServiceAccountIdIdentifier of the service account used for the payment. | String (50)CreditCardServiceAccountId | No | RetailSalesTableAsynchronousPaymentEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TenderTypeIdThe payment method used. | StringRetailTenderTypeId | No | RetailSalesTableAsynchronousPaymentEntity |
Indexes (3)
SalesReferenceIdxPrimary indexUnique, alternate key.
ReferenceIdxNot unique.
SalesIdxNot unique.
Relations (1)
Each relation joins RetailSalesTableAsynchronousPayment to another table on the fields shown.
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany RetailSalesTableAsynchronousPayment records → exactly one SalesTable record
Get this data out
Tables are not exposed directly. These public entities read from RetailSalesTableAsynchronousPayment; use one of them in Power BI, Power Platform or a data management project.
RetailSalesTableAsynchronousPaymentEntity· 15 fields from this table
Need help with RetailSalesTableAsynchronousPayment in a report, an integration or a migration? Talk to Dr Dynamics.