Table

RetailTransactionPriceTrans

Price transaction

Holds price details for sales lines in retail transactions. Each row has a price type, such as base price, trade agreement price or price adjustment price, and a value. It links to the sales line of the transaction.

Table name
RetailTransactionPriceTrans
Module
Commerce transactions and orders
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
TransactionPriceTransUIdx
Replacement key
TransactionPriceTransUIdx
Key fields
Channel, PriceType, RecordId, SaleLineNum, StoreId, TerminalId, TransactionId
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelThe retail channel of the transaction. Points to the channel record.Int64
RefRecId
NoRetailChannelTable.RecIdRetailTransactionPriceTransEntityRetailTransactionPriceTransBIEntity
PriceTypeKind of price: none, base price, trade agreement price or price adjustment price.Enum
PriceLineType (enum)
NoRetailTransactionPriceTransEntityRetailTransactionPriceTransBIEntity
RecordIdReference record ID. The target is not stated.low confidenceInt64
RefRecId
NoRetailTransactionPriceTransEntityRetailTransactionPriceTransBIEntity
SaleLineNumLine number of the sales line this price belongs to.Real
RetailTransactionSalesLineNum
NoRetailTransactionPriceTransEntityRetailTransactionPriceTransBIEntity
StoreIdStore where the transaction took place.String
RetailStoreId
NoRetailStoreTable.StoreNumberRetailTransactionPriceTransEntityRetailTransactionPriceTransBIEntity
TerminalIdRegister (POS terminal) where the transaction took place.String
RetailTerminalId
NoRetailTerminalTable.terminalIdRetailTransactionPriceTransEntityRetailTransactionPriceTransBIEntity
TransactionIdNumber of the retail transaction. Relates to the sales line.String (44)
RetailTransactionId
YesRetailTransactionPriceTransEntityRetailTransactionPriceTransBIEntity
CalculatedPricingPriorityNumberPriority number of the price, as calculated.Integer
RetailPricingPriorityNumber
NoRetailTransactionPriceTransBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionPriceTransBIEntity
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
NoRetailTransactionPriceTransBIEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReplicationCounterFromOriginCounter used to track replication of the record from its origin location.Integer
RetailReplicationCounter
NoRetailTransactionPriceTransEntityRetailTransactionPriceTransBIEntity
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
ValuePrice or discount amount for the price type.Real
PriceDiscAmount
NoRetailTransactionPriceTransEntityRetailTransactionPriceTransBIEntity

Indexes (3)

Relations (5)

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

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionPriceTrans records → zero or one RetailChannelTable record

  • RetailStoreTable → RetailStoreTable

    Join on StoreId = RetailStoreTable.StoreNumber

    Many RetailTransactionPriceTrans records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on TerminalId = RetailTerminalTable.terminalId

    Many RetailTransactionPriceTrans records → exactly one RetailTerminalTable record

  • RetailTransactionSalesTrans → RetailTransactionSalesTrans

    Join on SaleLineNum = RetailTransactionSalesTrans.lineNum, TransactionId = RetailTransactionSalesTrans.transactionId, TerminalId = RetailTransactionSalesTrans.terminalId, StoreId = RetailTransactionSalesTrans.store

    Many RetailTransactionPriceTrans records → exactly one RetailTransactionSalesTrans record

  • RetailTransactionTable → RetailTransactionTable

    Join on TransactionId = RetailTransactionTable.transactionId, TerminalId = RetailTransactionTable.terminal, StoreId = RetailTransactionTable.store

    Many RetailTransactionPriceTrans records → exactly one RetailTransactionTable record

Get this data out

Tables are not exposed directly. These public entities read from RetailTransactionPriceTrans; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk