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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesIdThe sales order that the payment belongs to.String (20)
SalesId
YesSalesTable.SalesIdRetailSalesTableAsynchronousPaymentEntity
ReferenceIdReference given by the merchant to identify the payment.String (100)
RetailAsynchronousPaymentReferenceId
YesRetailSalesTableAsynchronousPaymentEntity
AmountPayment amount in the transaction currency.Real
AmountCur
NoRetailSalesTableAsynchronousPaymentEntity
AsynchronousPaymentStatusStatus of the asynchronous payment: active, pending, paid, cancelled or error.Enum
RetailAsynchronousPaymentStatus (enum)
NoRetailSalesTableAsynchronousPaymentEntity
AuthorizedAmountAmount that has been authorized, in the transaction currency.Real
AmountCur
NoRetailSalesTableAsynchronousPaymentEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency code of the payment.String (3)
CurrencyCode
NoRetailSalesTableAsynchronousPaymentEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExpirationDateTimeDate and time when the payment expires.UtcDateTime
RetailAsynchronousPaymentExpirationDateTime
NoRetailSalesTableAsynchronousPaymentEntity
IsNonRecurringYes/No value showing whether the payment is non-recurring.Enum
NoYesId
NoYes (enum)
NoRetailSalesTableAsynchronousPaymentEntity
IsPreauthorizationOnlyYes/No value showing whether the payment only reserves funds and does not collect them.Enum
RetailAsynchronousPaymentIsPreauthorizationOnly
NoYes (enum)
NoRetailSalesTableAsynchronousPaymentEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentLinkIdIdentifier of the payment link.String (100)
RetailAsynchronousPaymentLinkId
NoRetailSalesTableAsynchronousPaymentEntity
PaymentLinkStatusStatus of the payment link: active, paid, expired, canceled or payment error.Enum
RetailAsynchronousPaymentLinkStatus (enum)
NoRetailSalesTableAsynchronousPaymentEntity
PaymentLinkUrlWeb address of the payment link.String (255)
RetailURL
NoRetailSalesTableAsynchronousPaymentEntity
PaymentTypeKind of asynchronous payment, for example a payment link.Enum
RetailAsynchronousPaymentType (enum)
NoRetailSalesTableAsynchronousPaymentEntity
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
ServiceAccountIdIdentifier of the service account used for the payment.String (50)
CreditCardServiceAccountId
NoRetailSalesTableAsynchronousPaymentEntity
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
TenderTypeIdThe payment method used.String
RetailTenderTypeId
NoRetailSalesTableAsynchronousPaymentEntity

Indexes (3)

Relations (1)

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

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many 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.

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

Email sales@drdynamics.co.uk