Table

RetailTransactionIncomeExpenseTransHistory

Archived income expense transactions

Archived income and expense lines from retail transactions, such as money added to or taken from the till. Each line shows the account, amount, shift, operator and statement. The transaction status is also stored.

Table name
RetailTransactionIncomeExpenseTransHistory
Module
Commerce transactions and orders
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (29)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
accountTypeShows whether the line is an income or an expense.Enum
RetailIncomeExpenseAccountType
RetailIncomeExpense (enum)
NoNone
amountAmount of the income or expense line.Real
Amount
NoNone
businessDateBusiness date of the transaction.Date
RetailBusinessDate
NoNone
ChannelRecord ID of the channel the transaction belongs to.Int64
RefRecId
NoNone
counterCounter value for the line.low confidenceInteger
RetailCounter
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
incomeExepenseAccountNumber of the income or expense account used on the line.String
RetailIncomeExepenseAccount
NoNone
lineNumLine number within the transaction.Real
LineNum
NoNone
OriginNumber of the location the record came from.String (50)
RetailConnDistributionLocationId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
receiptIdNumber of the receipt printed for the transaction.String (18)
RetailReceiptId
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
replicatedYes or No flag showing whether the record has been replicated.Enum
RetailReplicated
NoYes (enum)
NoNone
replicationCounterFromOriginCounter value used when the record is replicated from its originating location.Integer
RetailReplicationCounter
NoNone
shiftID of the shift in which the transaction was made.String
RetailShiftId
NoNone
shiftDateDate of the shift.Date
RetailShiftDate
NoNone
staffID of the operator who made the transaction.String (25)
RetailStaffId
NoNone
statementCodeCode of the statement the transaction belongs to.String (25)
RetailStatementCode
NoNone
statementIdNumber of the statement the transaction belongs to.String (20)
RetailStatementId
NoNone
storeNumber of the store where the transaction took place.String
RetailStoreId
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SysRowVersionNumberRow version number kept by the system to track changes to the record.low confidenceInt64
SysRowVersionNumber
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
terminalNumber of the register used for the transaction.String
RetailTerminalId
NoNone
transactionIdNumber of the retail transaction.String (44)
RetailTransactionId
NoNone
transactionStatusStatus of the entry, such as posted, voided, on hold or cancelled.Enum
RetailTransEntryStatus
RetailEntryStatus (enum)
NoNone
transDateDate of the transaction.Date
TransDate
NoNone
transTimeTime of the transaction.Time
RetailTransTime
NoNone

Indexes (2)

Get this data out

No public entity reads from RetailTransactionIncomeExpenseTransHistory. Its data is only reachable through the application, a custom entity or a database export.

Need help with RetailTransactionIncomeExpenseTransHistory in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk