Table
RetailTransactionNoteTrans
Retail note transactions
Holds notes attached to retail transactions. Each row is identified by channel, store, register, transaction number and line number. It stores a description, the note text and the operator, and can link to a document reference.
- Table name
RetailTransactionNoteTrans- 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 (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRetail channel the transaction belongs to, pointing to the channel record. | Int64RetailChannelRecId | No | RetailChannelTable.RecId | RetailTransactionNoteTransEntityRetailTransactionNoteTransBIEntity |
StoreNumber of the store where the transaction took place. | StringRetailStoreId | Yes | RetailTransactionTable.store | RetailTransactionNoteTransEntityRetailTransactionNoteTransBIEntity |
TerminalNumber of the POS register that handled the transaction. | StringRetailTerminalId | Yes | RetailTransactionTable.terminal | RetailTransactionNoteTransEntityRetailTransactionNoteTransBIEntity |
TransactionIdNumber of the retail transaction that the note belongs to. | String (44)RetailTransactionId | Yes | RetailTransactionTable.transactionId | RetailTransactionNoteTransEntityRetailTransactionNoteTransBIEntity |
LineNumLine number of the note within the transaction. | RealLineNum | No | RetailTransactionNoteTransEntityRetailTransactionNoteTransBIEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | RetailTransactionNoteTransBIEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | RetailTransactionNoteTransBIEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailTransactionNoteTransBIEntity | |
DescriptionShort description of the note. | String (60)Description | No | RetailTransactionNoteTransEntityRetailTransactionNoteTransBIEntity | |
DocuRefRecIdLink to the document reference record for an attached file. | Int64DocuRefRecId | No | DocuRef.RecId | RetailTransactionNoteTransEntityRetailTransactionNoteTransBIEntity |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | RetailTransactionNoteTransBIEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | RetailTransactionNoteTransBIEntity | |
NotesFull text of the note. | String (-1)Notes | No | RetailTransactionNoteTransEntityRetailTransactionNoteTransBIEntity | |
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 | RetailTransactionNoteTransBIEntity | |
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 of the record from where it was created. | IntegerRetailReplicationCounter | No | RetailTransactionNoteTransEntityRetailTransactionNoteTransBIEntity | |
RestrictionShows whether the note is internal or external. | EnumDocuRestriction (enum) | No | RetailTransactionNoteTransEntityRetailTransactionNoteTransBIEntity | |
StaffIdID of the operator who handled the transaction. | String (25)RetailStaffId | No | RetailTransactionNoteTransEntityRetailTransactionNoteTransBIEntity | |
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 |
Indexes (1)
TransactionLineIdxPrimary indexChannel,Store,Terminal,TransactionId,LineNumUnique, alternate key.
Relations (3)
Each relation joins RetailTransactionNoteTrans to another table on the fields shown.
RetailTransactionTable→RetailTransactionTableJoin on
Channel = RetailTransactionTable.Channel,Store = RetailTransactionTable.store,Terminal = RetailTransactionTable.terminal,TransactionId = RetailTransactionTable.transactionIdCardinality not set in the metadata.
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailTransactionNoteTrans records → zero or one RetailChannelTable record
DocuRef→DocuRefJoin on
DocuRefRecId = DocuRef.RecIdCardinality not set in the metadata.
Get this data out
Tables are not exposed directly. These public entities read from RetailTransactionNoteTrans; use one of them in Power BI, Power Platform or a data management project.
RetailTransactionNoteTransEntity· 11 fields from this tableRetailTransactionNoteTransBIEntity· 17 fields from this table
Need help with RetailTransactionNoteTrans in a report, an integration or a migration? Talk to Dr Dynamics.