Table

RetailTransactionAsynchronousPaymentTrans

Asynchronous payment transaction

Holds asynchronous payments for retail transactions, such as payments made through a payment link. Each row is identified by channel, store, register, transaction number and merchant reference ID. It stores the amount, currency, link details and payment status.

Table name
RetailTransactionAsynchronousPaymentTrans
Module
Commerce transactions and orders
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
TransactionReferenceIdx
Replacement key
None
Key fields
Channel, Store, Terminal, TransactionId, ReferenceId
Model
Foundation

Fields (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel of the transaction, pointing to the channel record.Int64
RetailChannelRecId
YesRetailChannelTable.RecIdRetailTransactionAsynchronousPaymentTransEntity
StoreNumber of the store, pointing to the store record.String
RetailStoreId
YesRetailStoreTable.StoreNumberNone
TerminalNumber of the POS register, pointing to the register record.String
RetailTerminalId
YesRetailTerminalTable.terminalIdRetailTransactionAsynchronousPaymentTransEntity
TransactionIdNumber of the retail transaction the payment belongs to.String (44)
RetailTransactionId
YesRetailTransactionTable.transactionIdRetailTransactionAsynchronousPaymentTransEntity
ReferenceIdMerchant reference ID that identifies the payment.String (100)
RetailAsynchronousPaymentReferenceId
YesRetailTransactionAsynchronousPaymentTransEntity
AmountPayment amount in the transaction currency.Real
AmountCur
NoRetailTransactionAsynchronousPaymentTransEntity
AsynchronousPaymentStatusStatus of the payment: none, active, pending, paid, cancelled or error.Enum
RetailAsynchronousPaymentStatus (enum)
NoRetailTransactionAsynchronousPaymentTransEntity
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
NoRetailTransactionAsynchronousPaymentTransEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExpirationDateTimeDate and time when the payment expires.UtcDateTime
RetailAsynchronousPaymentExpirationDateTime
NoRetailTransactionAsynchronousPaymentTransEntity
IsNonRecurringYes or no flag showing whether the payment is non-recurring.Enum
NoYesId
NoYes (enum)
NoRetailTransactionAsynchronousPaymentTransEntity
IsPreauthorizationOnlyYes or no flag showing whether the payment is only a pre-authorisation.Enum
RetailAsynchronousPaymentIsPreauthorizationOnly
NoYes (enum)
NoRetailTransactionAsynchronousPaymentTransEntity
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
NoRetailTransactionAsynchronousPaymentTransEntity
PaymentLinkStatusStatus of the payment link: none, active, paid, expired, cancelled or payment error.Enum
RetailAsynchronousPaymentLinkStatus (enum)
NoRetailTransactionAsynchronousPaymentTransEntity
PaymentLinkUrlInternet address of the payment link.String (255)
RetailURL
NoRetailTransactionAsynchronousPaymentTransEntity
PaymentTypeKind of asynchronous payment: none or payment link.Enum
RetailAsynchronousPaymentType (enum)
NoRetailTransactionAsynchronousPaymentTransEntity
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
ReplicationCounterFromOriginCounter used to track replication of the record.Integer
RetailReplicationCounter
NoNone
ServiceAccountIdID of the payment service account.String (50)
CreditCardServiceAccountId
NoRetailTransactionAsynchronousPaymentTransEntity
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
TenderTypeIdPayment method used.String
RetailTenderTypeId
NoRetailTransactionAsynchronousPaymentTransEntity

Indexes (3)

Relations (4)

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

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionAsynchronousPaymentTrans records → zero or one RetailChannelTable record

  • RetailStoreTable → RetailStoreTable

    Join on Store = RetailStoreTable.StoreNumber

    Many RetailTransactionAsynchronousPaymentTrans records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on Terminal = RetailTerminalTable.terminalId

    Many RetailTransactionAsynchronousPaymentTrans records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on Channel = RetailTransactionTable.Channel, Store = RetailTransactionTable.store, Terminal = RetailTransactionTable.terminal, TransactionId = RetailTransactionTable.transactionId

    Many RetailTransactionAsynchronousPaymentTrans records → zero or one RetailTransactionTable record

Get this data out

Tables are not exposed directly. These public entities read from RetailTransactionAsynchronousPaymentTrans; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk