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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRetail channel of the transaction, pointing to the channel record. | Int64RefRecId | No | RetailChannelTable.RecId | RetailTransactionAttributeEntityRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity |
storeNumber of the store, pointing to the store record. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | RetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity |
terminalNumber of the POS register, pointing to the register record. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | RetailTransactionAttributeEntityRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity |
transactionIdNumber of the retail transaction. | String (44)RetailTransactionId | Yes | RetailTransactionAttributeEntityRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity | |
NameName of the attribute. | String (60)Name | Yes | RetailTransactionAttributeEntityRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity | |
HeaderOrLineNumLine number the attribute applies to, or the header of the order. | RealHeaderOrLineNum | No | RetailTransactionAttributeEntityRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailTransactionAttributeTransBIEntity | |
OriginLocation number showing where the record came from. | String (50)RetailConnDistributionLocationId | No | RetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity | |
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 | RetailTransactionAttributeTransBIEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
replicationCounterFromOriginCounter used to track replication from the source location. | IntegerRetailReplicationCounter | No | RetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity | |
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 | |
TextValueText value of the attribute. | String (1999)AttributeValueText | Yes | RetailTransactionAttributeEntityRetailTransactionAttributeTransEntityRetailTransactionAttributeTransBIEntity |
Indexes (2)
TransactionAttributeIdxPrimary indexChannel,store,terminal,transactionId,Name,HeaderOrLineNumUnique, alternate key.
LocationIdxOrigin,replicationCounterFromOriginNot unique.
Relations (5)
Each relation joins RetailTransactionAttributeTrans to another table on the fields shown.
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailTransactionAttributeTrans records → zero or one RetailChannelTable record
RetailStoreTable→RetailStoreTableJoin on
store = RetailStoreTable.StoreNumberMany RetailTransactionAttributeTrans records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
terminal = RetailTerminalTable.terminalIdMany RetailTransactionAttributeTrans records → exactly one RetailTerminalTable record
RetailTransactionTable→RetailTransactionTableJoin on
transactionId = RetailTransactionTable.transactionId,terminal = RetailTransactionTable.terminal,store = RetailTransactionTable.store,DataAreaId = RetailTransactionTable.DataAreaIdMany RetailTransactionAttributeTrans records → exactly one RetailTransactionTable record
RetailTransactionSalesTrans→RetailTransactionSalesTransJoin on
transactionId = RetailTransactionSalesTrans.transactionId,terminal = RetailTransactionSalesTrans.terminalId,store = RetailTransactionSalesTrans.store,HeaderOrLineNum = RetailTransactionSalesTrans.lineNum,DataAreaId = RetailTransactionSalesTrans.DataAreaIdMany 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.
RetailTransactionAttributeEntity· 6 fields from this tableRetailTransactionAttributeTransEntity· 9 fields from this tableRetailTransactionAttributeTransBIEntity· 11 fields from this table
Need help with RetailTransactionAttributeTrans in a report, an integration or a migration? Talk to Dr Dynamics.