Data entity
RetailTransactionTenderDeclarationTransEntity
Holds tender declaration lines from retail transactions. A line records a payment method with amounts in the transaction currency and the POS currency, exchange rates and quantity. It also shows the shift, operator, statement details and business date. The key is the operating unit party number, store, register, transaction number and line number. It links to the retail channel and store records.
- Entity name
RetailTransactionTenderDeclarationTransEntity- Public entity name
TransactionTenderDeclarationTrans- OData collection
TransactionTenderDeclarationTrans- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
OMOperatingUnit_PartyNumber, store, terminal, transactionId, lineNum- Staging table
RetailTransactionTenderDeclarationTransStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/TransactionTenderDeclarationTrans- Dataverse virtual table
mserp_retailtransactiontenderdeclarationtransentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
RetailTransactionTenderDeclarationTrans· rootRetailChannelTable· OuterJoin toRetailTransactionTenderDeclarationTrans· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailMCRChannelTable· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTable
Fields (30)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
POSCurrencyCurrency used at the register. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | RetailTransactionTenderDeclarationTrans.POSCurrency |
amountCurAmount in transaction currency. | RealAmountCur | No | Yes | RetailTransactionTenderDeclarationTrans.amountCur | |
amountMSTAmount in accounting currency. | RealAmountMST | No | Yes | RetailTransactionTenderDeclarationTrans.amountMST | |
amountTenderedAmount tendered. | RealRetailAmountTendered | No | Yes | RetailTransactionTenderDeclarationTrans.amountTendered | |
businessDateBusiness date of the transaction. | DateRetailBusinessDate | No | Yes | RetailTransactionTenderDeclarationTrans.businessDate | |
cardIdCard type used for the payment. | StringRetailCardTypeId | No | Yes | RetailTenderTypeCardTable.cardTypeId | RetailTransactionTenderDeclarationTrans.cardId |
ChannelRetail channel the record belongs to. | Int64RefRecId | No | No (private) | RetailChannelTable.RecId | RetailTransactionTenderDeclarationTrans.Channel |
currencyCurrency code of the line. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | RetailTransactionTenderDeclarationTrans.currency |
exchRateExchange rate used for the line. | RealExchRate | No | Yes | RetailTransactionTenderDeclarationTrans.exchRate | |
exchRateMSTExchange rate to accounting currency. | RealExchRate | No | Yes | RetailTransactionTenderDeclarationTrans.exchRateMST | |
lineNumLine number within the transaction. | RealLineNum | No | Yes | RetailTransactionTenderDeclarationTrans.lineNum | |
OriginLocation number that the record came from. | String (50)RetailConnDistributionLocationId | No | Yes | RetailTransactionTenderDeclarationTrans.Origin | |
qtyQuantity declared, for example a count of notes or coins. | RealQty | No | Yes | RetailTransactionTenderDeclarationTrans.qty | |
receiptIdReceipt number linked to the line. | String (18)RetailReceiptId | No | Yes | RetailTransactionTenderDeclarationTrans.receiptId | |
replicatedShows whether the record has been replicated. | EnumRetailReplicated
| No | Yes | RetailTransactionTenderDeclarationTrans.replicated | |
replicationCounterFromOriginCounter used for replication from the origin location. | IntegerRetailReplicationCounter | No | Yes | RetailTransactionTenderDeclarationTrans.replicationCounterFromOrigin | |
shiftShift identifier text. | StringRetailShiftId | No | Yes | RetailTransactionTenderDeclarationTrans.shift | |
shiftDateDate of the shift. | DateRetailShiftDate | No | Yes | RetailTransactionTenderDeclarationTrans.shiftDate | |
staffOperator who made the declaration. | String (25)RetailStaffId | No | Yes | RetailTransactionTenderDeclarationTrans.staff | |
statementCodeCode of the statement the line is in. | String (25)RetailStatementCode | No | Yes | RetailTransactionTenderDeclarationTrans.statementCode | |
statementIdStatement number the line is included in. | String (20)RetailStatementId | No | Yes | RetailStatementTable.statementId | RetailTransactionTenderDeclarationTrans.statementId |
storeStore where the declaration was made. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailTransactionTenderDeclarationTrans.store |
tenderTypePayment method that was declared. | StringRetailTenderTypeId | No | Yes | RetailTenderTypeTable.tenderTypeId | RetailTransactionTenderDeclarationTrans.tenderType |
terminalRegister where the declaration was made. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailTransactionTenderDeclarationTrans.terminal |
transactionIdTransaction that the line belongs to. | String (44)RetailTransactionId | No | Yes | RetailTransactionTable.transactionId | RetailTransactionTenderDeclarationTrans.transactionId |
transactionStatusStatus of the transaction, such as voided, posted or concluded. | EnumRetailTransEntryStatus
| No | Yes | RetailTransactionTenderDeclarationTrans.transactionStatus | |
transDateDate of the transaction. | DateTransDate | No | Yes | RetailTransactionTenderDeclarationTrans.transDate | |
transTimeTime of the transaction. | TimeRetailTransTime | No | Yes | RetailTransactionTenderDeclarationTrans.transTime | |
RetailChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record. | Int64RefRecId | No | No (private) | OMOperatingUnit.RecId | RetailChannelTable.OMOperatingUnitID |
OMOperatingUnit_PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber |
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.
POSCurrency→Currency.CurrencyCode(key of Currency)Many RetailTransactionTenderDeclarationTrans records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
cardId→RetailTenderTypeCardTable.cardTypeId(key of RetailTenderTypeCardTable)Many RetailTransactionTenderDeclarationTrans records → exactly one RetailTenderTypeCardTable record
RetailTenderTypeCardTable details: see RetailTenderTypeCardEntity, RetailChannelEntity
Channel→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailTransactionTenderDeclarationTrans records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
currency→Currency.CurrencyCode(key of Currency)Many RetailTransactionTenderDeclarationTrans records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
statementId→RetailStatementTable.statementId(key of RetailStatementTable)Many RetailTransactionTenderDeclarationTrans records → exactly one RetailStatementTable record
RetailStatementTable details: see RetailEodStatementAggregationEntity
store→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailTransactionTenderDeclarationTrans records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
tenderType→RetailTenderTypeTable.tenderTypeId(key of RetailTenderTypeTable)Many RetailTransactionTenderDeclarationTrans records → exactly one RetailTenderTypeTable record
RetailTenderTypeTable details: see RetailTenderTypeEntity, RetailTenderDiscountEntity
terminal→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailTransactionTenderDeclarationTrans records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
transactionId→RetailTransactionTable.transactionId(key of RetailTransactionTable)Join on all of:
transactionId=RetailTransactionTable.transactionId,store=RetailTransactionTable.store,terminal=RetailTransactionTable.terminal,Channel=RetailTransactionTable.ChannelMany RetailTransactionTenderDeclarationTrans records → zero or one RetailTransactionTable record
RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity
RetailChannelTable_OMOperatingUnitID→OMOperatingUnit.RecId(key of OMOperatingUnit)Zero or one RetailChannelTable record → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
Need help with RetailTransactionTenderDeclarationTransEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.