Table

RetailTransactionAttributeTrans

Sales order attributes

Holds named attributes with text values for retail sales orders. Each row is identified by channel, store, register, transaction number, attribute name and header or line number. It links to the transaction and its sales lines.

Table name
RetailTransactionAttributeTrans
Module
Commerce transactions and orders
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
TransactionAttributeIdx
Replacement key
None
Key fields
Channel, store, terminal, transactionId, Name, HeaderOrLineNum
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel of the transaction, pointing to the channel record.Int64
RefRecId
NoRetailChannelTable.RecIdRetailTransactionAttributeEntityRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity
storeNumber of the store, pointing to the store record.String
RetailStoreId
NoRetailStoreTable.StoreNumberRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity
terminalNumber of the POS register, pointing to the register record.String
RetailTerminalId
NoRetailTerminalTable.terminalIdRetailTransactionAttributeEntityRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity
transactionIdNumber of the retail transaction.String (44)
RetailTransactionId
YesRetailTransactionAttributeEntityRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity
NameName of the attribute.String (60)
Name
YesRetailTransactionAttributeEntityRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity
HeaderOrLineNumLine number the attribute applies to, or the header of the order.Real
HeaderOrLineNum
NoRetailTransactionAttributeEntityRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionAttributeTransBIEntity
OriginLocation number showing where the record came from.String (50)
RetailConnDistributionLocationId
NoRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity
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
NoRetailTransactionAttributeTransBIEntity
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 from the source location.Integer
RetailReplicationCounter
NoRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity
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
TextValueText value of the attribute.String (1999)
AttributeValueText
YesRetailTransactionAttributeEntityRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity

Indexes (2)

Relations (5)

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

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionAttributeTrans records → zero or one RetailChannelTable record

  • RetailStoreTable → RetailStoreTable

    Join on store = RetailStoreTable.StoreNumber

    Many RetailTransactionAttributeTrans records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on terminal = RetailTerminalTable.terminalId

    Many RetailTransactionAttributeTrans records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on transactionId = RetailTransactionTable.transactionId, terminal = RetailTransactionTable.terminal, store = RetailTransactionTable.store, DataAreaId = RetailTransactionTable.DataAreaId

    Many RetailTransactionAttributeTrans records → exactly one RetailTransactionTable record

  • RetailTransactionSalesTrans → RetailTransactionSalesTrans

    Join on transactionId = RetailTransactionSalesTrans.transactionId, terminal = RetailTransactionSalesTrans.terminalId, store = RetailTransactionSalesTrans.store, HeaderOrLineNum = RetailTransactionSalesTrans.lineNum, DataAreaId = RetailTransactionSalesTrans.DataAreaId

    Many RetailTransactionAttributeTrans records → exactly one RetailTransactionSalesTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk