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· rootRetailChannelTable· OuterJoin toRetailTransactionPaymentTrans· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailOnlineChannelTable· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTableRetailMCRChannelTable· Derived toRetailChannelTableDimensionDAVS(tableDimensionSetEntity) · OuterJoin toRetailTransactionPaymentTrans· read-onlyRetailTransactionAuditableEntity· InnerJoin toRetailTransactionPaymentTrans· read-only
Fields (30)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountInTransactionCurrencyPayment amount in the transaction currency. | RealAmountCur | No | Yes | RetailTransactionPaymentTrans.amountCur | |
AmountPayment amount in the accounting currency. | RealAmountMST | No | Yes | RetailTransactionPaymentTrans.amountMST | |
AmountTenderedAmount handed over by the customer for this payment. | RealRetailAmountTendered | No | Yes | RetailTransactionPaymentTrans.amountTendered | |
BusinessDateBusiness date of the transaction. | DateRetailBusinessDate | No | Yes | RetailTransactionPaymentTrans.businessDate | |
CardOrAccountCard number or account used for the payment. | String (30)RetailCardOrAccount | No | Yes | RetailTransactionPaymentTrans.cardOrAccount | |
CardTypeIdType of card used. Points to the card type record. | StringRetailCardTypeId | No | Yes | RetailTenderTypeCardTable.cardTypeId | RetailTransactionPaymentTrans.cardTypeId |
ChangeYes/No flag showing whether the line is a change line. | EnumRetailChangeLine
| No | Yes | RetailTransactionPaymentTrans.changeLine | |
ChannelThe retail channel of the transaction. Points to the channel record. | Int64RefRecId | No | No (private) | RetailChannelTable.RecId | RetailTransactionPaymentTrans.Channel |
CurrencyCurrency code of the payment. Points to the currency record. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | RetailTransactionPaymentTrans.currency |
FinancialDimensionSet of financial dimension values for the line. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | RetailTransactionPaymentTrans.DefaultDimension |
ExchangeRateExchange rate applied to the payment. | RealExchRate | No | Yes | RetailTransactionPaymentTrans.exchRate | |
OperatorIDID of the operator who handled the payment. | String (25)RetailStaffId | No | Yes | RetailTransactionPaymentTrans.staff | |
StatementCodeCode of the statement line that includes the payment. | String (25)RetailStatementCode | No | Yes | RetailTransactionPaymentTrans.statementCode | |
StatementNumberStatement the payment belongs to. | String (20)RetailStatementId | No | Yes | RetailStatementTable.statementId | RetailTransactionPaymentTrans.statementId |
StoreNumberStore where the payment was taken. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailTransactionPaymentTrans.store |
PaymentMethodPayment method used, such as cash or card. | StringRetailTenderTypeId | No | Yes | RetailTenderTypeTable.tenderTypeId | RetailTransactionPaymentTrans.tenderType |
RegisterNumberRegister (POS terminal) where the payment was taken. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailTransactionPaymentTrans.terminal |
TransactionIdNumber of the retail transaction the payment belongs to. | String (44)RetailTransactionId | No | Yes | RetailTransactionTable.transactionId | RetailTransactionPaymentTrans.transactionId |
TransactionStatusStatus of the entry, such as voided, posted, concluded or on hold. | EnumRetailTransEntryStatus
| No | Yes | RetailTransactionPaymentTrans.transactionStatus | |
TransactionDateDate of the payment. | DateTransDate | No | Yes | RetailTransactionPaymentTrans.transDate | |
TransactionTimeTime of the payment. | TimeRetailTransTime | No | Yes | RetailTransactionPaymentTrans.transTime | |
VoidStatusVoid state of the payment: none, payment voided, force voided or force void reconciled. | Enum
| No | Yes | RetailTransactionPaymentTrans.VoidStatus | |
CardPaymentAccountIdIdentifier of the card payment account. | String (80)RetailCardPaymentAccountId | No | Yes | RetailTransactionPaymentTrans.CardPaymentAccountId | |
OperatingUnitRecIdOperating unit that the channel is based on. It is the key of the record. | Int64RefRecId | No | No (private) | OMOperatingUnit.RecId | RetailChannelTable.OMOperatingUnitID |
OperatingUnitNumberThe number that identifies the operating unit. | String (30)OMOperatingUnitNumber | Yes | Yes | OMOperatingUnit.OMOperatingUnitNumber | |
FinancialDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
LineNumberLine number within the transaction. | RealLineNum | No | Yes | RetailTransactionPaymentTrans.lineNum | |
HeaderTransactionTypeKind of transaction, such as sales, payment, logon, logoff or tender declaration. | Enum
| No | Yes | RetailTransactionTable.type | |
HeaderValidationStatusResult of validating the transaction, such as pending, in progress, error or successful. | Enum
| No | Yes | RetailTransactionTable.ValidationStatus | |
HeaderAsynchronousOrderStatusCurrent status of the pending order, for example failed, succeeded, pending synchronization or editing. | Enum
| No | Yes | RetailTransactionOrderStatus.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.
CardTypeId→RetailTenderTypeCardTable.cardTypeId(key of RetailTenderTypeCardTable)Many RetailTransactionPaymentTrans records → exactly one RetailTenderTypeCardTable record
RetailTenderTypeCardTable details: see RetailTenderTypeCardEntity, RetailChannelEntity
Channel→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailTransactionPaymentTrans records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
Currency→Currency.CurrencyCode(key of Currency)Many RetailTransactionPaymentTrans records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
FinancialDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many RetailTransactionPaymentTrans records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
StatementNumber→RetailStatementTable.statementId(key of RetailStatementTable)Many RetailTransactionPaymentTrans records → zero or one RetailStatementTable record
RetailStatementTable details: see RetailEodStatementAggregationEntity
StoreNumber→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailTransactionPaymentTrans records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
PaymentMethod→RetailTenderTypeTable.tenderTypeId(key of RetailTenderTypeTable)Many RetailTransactionPaymentTrans records → exactly one RetailTenderTypeTable record
RetailTenderTypeTable details: see RetailTenderTypeEntity, RetailTenderDiscountEntity
RegisterNumber→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailTransactionPaymentTrans records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
TransactionId→RetailTransactionTable.transactionId(key of RetailTransactionTable)Join on all of:
TransactionId=RetailTransactionTable.transactionId,Channel=RetailTransactionTable.Channel,StoreNumber=RetailTransactionTable.store,RegisterNumber=RetailTransactionTable.terminalMany RetailTransactionPaymentTrans records → zero or one RetailTransactionTable record
RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity
OperatingUnitRecId→OMOperatingUnit.RecId(key of OMOperatingUnit)Zero or one RetailChannelTable record → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
Need help with RetailTransactionAuditablePaymentLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.