Data entity

RetailTransactionAuditablePaymentLineEntity

Holds the payment lines of retail transactions. Each record has an amount, the amount tendered, a currency, an exchange rate, a payment method, card details and a void status. The key is operating unit, store, register, transaction and line number.

Entity name
RetailTransactionAuditablePaymentLineEntity
Public entity name
RetailTransactionAuditablePaymentLine
OData collection
RetailTransactionAuditablePaymentLines
Category
Transaction
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
No
Configuration key
Retail
Keys
OperatingUnitNumber, StoreNumber, RegisterNumber, TransactionId, LineNumber
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailTransactionAuditablePaymentLines
Dataverse virtual table
mserp_retailtransactionauditablepaymentlineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • RetailTransactionPaymentTrans · root
  • RetailChannelTable · OuterJoin to RetailTransactionPaymentTrans · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • DimensionDAVS (table DimensionSetEntity) · OuterJoin to RetailTransactionPaymentTrans · read-only
  • RetailTransactionAuditableEntity · InnerJoin to RetailTransactionPaymentTrans · read-only

Fields (30)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AmountInTransactionCurrencyPayment amount in the transaction currency.Real
AmountCur
NoYesRetailTransactionPaymentTrans.amountCur
AmountPayment amount in the accounting currency.Real
AmountMST
NoYesRetailTransactionPaymentTrans.amountMST
AmountTenderedAmount handed over by the customer for this payment.Real
RetailAmountTendered
NoYesRetailTransactionPaymentTrans.amountTendered
BusinessDateBusiness date of the transaction.Date
RetailBusinessDate
NoYesRetailTransactionPaymentTrans.businessDate
CardOrAccountCard number or account used for the payment.String (30)
RetailCardOrAccount
NoYesRetailTransactionPaymentTrans.cardOrAccount
CardTypeIdType of card used. Points to the card type record.String
RetailCardTypeId
NoYesRetailTenderTypeCardTable.cardTypeIdRetailTransactionPaymentTrans.cardTypeId
ChangeYes/No flag showing whether the line is a change line.Enum
RetailChangeLine
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionPaymentTrans.changeLine
ChannelThe retail channel of the transaction. Points to the channel record.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailTransactionPaymentTrans.Channel
CurrencyCurrency code of the payment. Points to the currency record.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeRetailTransactionPaymentTrans.currency
FinancialDimensionSet of financial dimension values for the line.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdRetailTransactionPaymentTrans.DefaultDimension
ExchangeRateExchange rate applied to the payment.Real
ExchRate
NoYesRetailTransactionPaymentTrans.exchRate
OperatorIDID of the operator who handled the payment.String (25)
RetailStaffId
NoYesRetailTransactionPaymentTrans.staff
StatementCodeCode of the statement line that includes the payment.String (25)
RetailStatementCode
NoYesRetailTransactionPaymentTrans.statementCode
StatementNumberStatement the payment belongs to.String (20)
RetailStatementId
NoYesRetailStatementTable.statementIdRetailTransactionPaymentTrans.statementId
StoreNumberStore where the payment was taken.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailTransactionPaymentTrans.store
PaymentMethodPayment method used, such as cash or card.String
RetailTenderTypeId
NoYesRetailTenderTypeTable.tenderTypeIdRetailTransactionPaymentTrans.tenderType
RegisterNumberRegister (POS terminal) where the payment was taken.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailTransactionPaymentTrans.terminal
TransactionIdNumber of the retail transaction the payment belongs to.String (44)
RetailTransactionId
NoYesRetailTransactionTable.transactionIdRetailTransactionPaymentTrans.transactionId
TransactionStatusStatus of the entry, such as voided, posted, concluded or on hold.Enum
RetailTransEntryStatus
RetailEntryStatus
  • None 0
  • Voided 1
  • Posted 2
  • Concluded 3
  • Cancelled 4
  • OnHold 5
  • Training 6
  • PendingInvoice 7
  • CreatingOrder 8
NoYesRetailTransactionPaymentTrans.transactionStatus
TransactionDateDate of the payment.Date
TransDate
NoYesRetailTransactionPaymentTrans.transDate
TransactionTimeTime of the payment.Time
RetailTransTime
NoYesRetailTransactionPaymentTrans.transTime
VoidStatusVoid state of the payment: none, payment voided, force voided or force void reconciled.Enum
RetailTenderVoidStatus
  • None 0
  • NormalVoid 1
  • ForceVoided 2
  • ForceVoidReconciled 3
NoYesRetailTransactionPaymentTrans.VoidStatus
CardPaymentAccountIdIdentifier of the card payment account.String (80)
RetailCardPaymentAccountId
NoYesRetailTransactionPaymentTrans.CardPaymentAccountId
OperatingUnitRecIdOperating unit that the channel is based on. It is the key of the record.Int64
RefRecId
NoNo (private)OMOperatingUnit.RecIdRetailChannelTable.OMOperatingUnitID
OperatingUnitNumberThe number that identifies the operating unit.String (30)
OMOperatingUnitNumber
YesYesOMOperatingUnit.OMOperatingUnitNumber
FinancialDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
LineNumberLine number within the transaction.Real
LineNum
NoYesRetailTransactionPaymentTrans.lineNum
HeaderTransactionTypeKind of transaction, such as sales, payment, logon, logoff or tender declaration.Enum
RetailTransactionType
  • Logoff 0
  • Logon 1
  • Sales 2
  • Payment 3
  • RemoveTender 4
  • FloatEntry 5
  • ChangeTender 6
  • TenderDeclaration 7
  • Voided 8
  • OpenDrawer 9
  • NegativeAdjustment 10
  • PhysicalInventory 11
  • EndOfDay 12
  • EndOfShift 13
  • SalesOrder 14
  • SalesInvoice 15
  • BankDrop 16
  • SafeDrop 17
  • IncomeExpense 18
  • CustomerOrder 19
  • StartingAmount 20
  • SuspendShift 21
  • BlindCloseShift 22
  • CloseShift 23
  • PrintX 24
  • PrintZ 25
  • PendingSalesOrder 27
  • ManagerAuthorize 26
  • KitDisassembly 28
  • ResetPassword 29
  • ChangePassword 30
  • AsyncCustomerQuote 31
  • AsyncCustomerOrder 33
  • ForceDeleteShift 34
  • GiftCardInquiry 35
  • SuspendedTransaction 36
  • AsyncOrderCancellation 37
NoYesRetailTransactionTable.type
HeaderValidationStatusResult of validating the transaction, such as pending, in progress, error or successful.Enum
RetailTransactionValidationStatus
  • None 0
  • Pending 20
  • InProgress 40
  • Failed 60
  • Ok 80
NoYesRetailTransactionTable.ValidationStatus
HeaderAsynchronousOrderStatusCurrent status of the pending order, for example failed, succeeded, pending synchronization or editing.Enum
RetailTransactionOrderStatusType
  • None 0
  • Failed 1
  • Succeeded 2
  • PendingSynchronization 3
  • Editing 4
NoYesRetailTransactionOrderStatus.Status

Foreign keys (10)

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.

Need help with RetailTransactionAuditablePaymentLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk