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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRecord ID of the channel the transaction belongs to.Int64
RetailChannelRecId
NoNone
StoreNumber of the store where the transaction took place.String
RetailStoreId
YesNone
TerminalNumber of the register used for the transaction.String
RetailTerminalId
YesNone
TransactionIdNumber of the retail transaction the note belongs to.String (44)
RetailTransactionId
YesNone
LineNumLine number of the note within the transaction.Real
LineNum
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort description of the note.String (60)
Description
NoNone
DocuRefRecIdRecord ID of the attached document, shown with the label File name.Int64
DocuRefRecId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NotesFull text of the note.String (-1)
Notes
NoNone
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
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReplicationCounterFromOriginCounter value used when the record is replicated from its originating location.Integer
RetailReplicationCounter
NoNone
RestrictionShows whether the note is internal or external.Enum
DocuRestriction (enum)
NoNone
StaffIdID of the operator who made the note.String (25)
RetailStaffId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

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.

Email sales@drdynamics.co.uk