Table
RetailTransactionAttributeTransHistory
Archived sales order attributes
Archived attribute values for sales orders created from Commerce transactions. Each row holds an attribute name and a text value, linked to a transaction and to a header or line number. No key or relation is defined in the metadata.
- Table name
RetailTransactionAttributeTransHistory- Module
Commerce transactions and orders- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelReference to the channel record, stored as a record ID. | Int64RefRecId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
HeaderOrLineNumLine number the attribute applies to, or the header level. | RealHeaderOrLineNum | No | None | |
NameName of the attribute. | String (60)Name | Yes | None | |
OriginLocation number showing where the record came from. | String (50)RetailConnDistributionLocationId | 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 | |
replicationCounterFromOriginCounter value from the origin location, used to track replication of the record. | IntegerRetailReplicationCounter | No | None | |
storeNumber of the store where the transaction took place. | StringRetailStoreId | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SysRowVersionNumberSystem version number of the row. It has no label.low confidence | Int64SysRowVersionNumber | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
terminalNumber of the register where the transaction took place. | StringRetailTerminalId | No | None | |
TextValueText value of the attribute, up to 1,999 characters. | String (1999)AttributeValueText | Yes | None | |
transactionIdNumber of the transaction the attribute belongs to. | String (44)RetailTransactionId | Yes | None |
Indexes (2)
TransactionAttributeIdxChannel,store,terminal,transactionId,Name,HeaderOrLineNum,DataAreaId,PartitionUnique, alternate key.
transactionIdxChannel,store,terminal,transactionId,DataAreaId,PartitionNot unique.
Get this data out
No public entity reads from RetailTransactionAttributeTransHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailTransactionAttributeTransHistory in a report, an integration or a migration? Talk to Dr Dynamics.