Table
RetailTransactionSalesTransExt
Sales transaction extensions for countries
Extension table that adds extra values to sales lines in RetailTransactionSalesTrans. The key is channel, store, register, transaction number and line number, so each row matches one sales line. The label suggests it is for country-specific additions.
- Table name
RetailTransactionSalesTransExt- Module
Commerce transactions and orders- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
transactionLineIdx- Replacement key
None- Key fields
Channel, Store, Terminal, TransactionId, LineNum- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRetail channel of the sales line. | Int64RefRecId | No | RetailChannelTable.RecId | RetailTransactionSalesTransExtEntity |
StoreStore of the sales line. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | RetailTransactionSalesTransExtEntity |
TerminalRegister (POS terminal) of the sales line. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | RetailTransactionSalesTransExtEntity |
TransactionIdNumber of the retail transaction of the sales line. | String (44)RetailTransactionId | Yes | RetailTransactionSalesTrans.TransactionId | RetailTransactionSalesTransExtEntity |
LineNumLine number of the related sales line. | RealLineNum | Yes | RetailTransactionSalesTrans.LineNum | RetailTransactionSalesTransExtEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReplicationCounterFromOriginReplication counter value taken from the originating system. | IntegerRetailReplicationCounter | No | RetailTransactionSalesTransExtEntity | |
SkipReportsFlag that leaves the sales line out of sales reports. | EnumNoYesIdNoYes (enum) | No | RetailTransactionSalesTransExtEntityRetailTransactionSalesLineV2EntityRetailTransactionSalesLineEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
transactionLineIdxPrimary indexChannel,Store,Terminal,TransactionId,LineNumUnique.
Relations (4)
Each relation joins RetailTransactionSalesTransExt to another table on the fields shown.
RetailStoreTable→RetailStoreTableJoin on
Store = RetailStoreTable.StoreNumberMany RetailTransactionSalesTransExt records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
Terminal = RetailTerminalTable.terminalIdMany RetailTransactionSalesTransExt records → exactly one RetailTerminalTable record
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailTransactionSalesTransExt records → zero or one RetailChannelTable record
RetailTransactionSalesTrans→RetailTransactionSalesTransJoin on
Channel = RetailTransactionSalesTrans.Channel,Store = RetailTransactionSalesTrans.store,Terminal = RetailTransactionSalesTrans.TerminalId,TransactionId = RetailTransactionSalesTrans.TransactionId,LineNum = RetailTransactionSalesTrans.LineNumZero or one RetailTransactionSalesTransExt record → exactly one RetailTransactionSalesTrans record
Get this data out
Tables are not exposed directly. These public entities read from RetailTransactionSalesTransExt; use one of them in Power BI, Power Platform or a data management project.
RetailTransactionSalesTransExtEntity· 7 fields from this tableRetailTransactionSalesLineV2Entity· 1 field from this tableRetailTransactionSalesLineEntity· 1 field from this table
Need help with RetailTransactionSalesTransExt in a report, an integration or a migration? Talk to Dr Dynamics.