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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel of the sales line.Int64
RefRecId
NoRetailChannelTable.RecIdRetailTransactionSalesTransExtEntity
StoreStore of the sales line.String
RetailStoreId
NoRetailStoreTable.StoreNumberRetailTransactionSalesTransExtEntity
TerminalRegister (POS terminal) of the sales line.String
RetailTerminalId
NoRetailTerminalTable.terminalIdRetailTransactionSalesTransExtEntity
TransactionIdNumber of the retail transaction of the sales line.String (44)
RetailTransactionId
YesRetailTransactionSalesTrans.TransactionIdRetailTransactionSalesTransExtEntity
LineNumLine number of the related sales line.Real
LineNum
YesRetailTransactionSalesTrans.LineNumRetailTransactionSalesTransExtEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
ReplicationCounterFromOriginReplication counter value taken from the originating system.Integer
RetailReplicationCounter
NoRetailTransactionSalesTransExtEntity
SkipReportsFlag that leaves the sales line out of sales reports.Enum
NoYesId
NoYes (enum)
NoRetailTransactionSalesTransExtEntityRetailTransactionSalesLineV2EntityRetailTransactionSalesLineEntity
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

Indexes (1)

Relations (4)

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

  • RetailStoreTable → RetailStoreTable

    Join on Store = RetailStoreTable.StoreNumber

    Many RetailTransactionSalesTransExt records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on Terminal = RetailTerminalTable.terminalId

    Many RetailTransactionSalesTransExt records → exactly one RetailTerminalTable record

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionSalesTransExt records → zero or one RetailChannelTable record

  • RetailTransactionSalesTrans → RetailTransactionSalesTrans

    Join on Channel = RetailTransactionSalesTrans.Channel, Store = RetailTransactionSalesTrans.store, Terminal = RetailTransactionSalesTrans.TerminalId, TransactionId = RetailTransactionSalesTrans.TransactionId, LineNum = RetailTransactionSalesTrans.LineNum

    Zero 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.

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

Email sales@drdynamics.co.uk