Table
RetailTransactionNoteTransHistory
Retail note transactions
Notes attached to retail transactions, one record per note line. Each is identified by channel, store, register, transaction number and line number. It holds the note text, a description, who wrote it and whether it is internal or external.
- Table name
RetailTransactionNoteTransHistory- 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 (20)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRecord ID of the channel the transaction belongs to. | Int64RetailChannelRecId | No | None | |
StoreNumber of the store where the transaction took place. | StringRetailStoreId | Yes | None | |
TerminalNumber of the register used for the transaction. | StringRetailTerminalId | Yes | None | |
TransactionIdNumber of the retail transaction the note belongs to. | String (44)RetailTransactionId | Yes | None | |
LineNumLine number of the note within the transaction. | RealLineNum | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort description of the note. | String (60)Description | No | None | |
DocuRefRecIdRecord ID of the attached document, shown with the label File name. | Int64DocuRefRecId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NotesFull text of the note. | String (-1)Notes | 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 used when the record is replicated from its originating location. | IntegerRetailReplicationCounter | No | None | |
RestrictionShows whether the note is internal or external. | EnumDocuRestriction (enum) | No | None | |
StaffIdID of the operator who made the note. | String (25)RetailStaffId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
TransactionLineIdxPrimary indexChannel,Store,Terminal,TransactionId,LineNumUnique, alternate key.
Get this data out
No public entity reads from RetailTransactionNoteTransHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailTransactionNoteTransHistory in a report, an integration or a migration? Talk to Dr Dynamics.