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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
accountTypeShows whether the line is an income or an expense. | EnumRetailIncomeExpenseAccountTypeRetailIncomeExpense (enum) | No | None | |
amountAmount of the income or expense line. | RealAmount | No | None | |
businessDateBusiness date of the transaction. | DateRetailBusinessDate | No | None | |
ChannelRecord ID of the channel the transaction belongs to. | Int64RefRecId | No | None | |
counterCounter value for the line.low confidence | IntegerRetailCounter | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
incomeExepenseAccountNumber of the income or expense account used on the line. | StringRetailIncomeExepenseAccount | No | None | |
lineNumLine number within the transaction. | RealLineNum | No | None | |
OriginNumber of the location 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 | |
receiptIdNumber of the receipt printed for the transaction. | String (18)RetailReceiptId | 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 | |
replicatedYes or No flag showing whether the record has been replicated. | EnumRetailReplicatedNoYes (enum) | No | None | |
replicationCounterFromOriginCounter value used when the record is replicated from its originating location. | IntegerRetailReplicationCounter | No | None | |
shiftID of the shift in which the transaction was made. | StringRetailShiftId | No | None | |
shiftDateDate of the shift. | DateRetailShiftDate | No | None | |
staffID of the operator who made the transaction. | String (25)RetailStaffId | No | None | |
statementCodeCode of the statement the transaction belongs to. | String (25)RetailStatementCode | No | None | |
statementIdNumber of the statement the transaction belongs to. | String (20)RetailStatementId | 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 | |
SysRowVersionNumberRow version number kept by the system to track changes to the record.low confidence | Int64SysRowVersionNumber | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
terminalNumber of the register used for the transaction. | StringRetailTerminalId | No | None | |
transactionIdNumber of the retail transaction. | String (44)RetailTransactionId | No | None | |
transactionStatusStatus of the entry, such as posted, voided, on hold or cancelled. | EnumRetailTransEntryStatusRetailEntryStatus (enum) | No | None | |
transDateDate of the transaction. | DateTransDate | No | None | |
transTimeTime of the transaction. | TimeRetailTransTime | No | None |
Indexes (2)
transactionLineIdxChannel,store,terminal,transactionId,lineNum,DataAreaId,PartitionUnique, alternate key.
transactionIdxChannel,store,terminal,transactionId,DataAreaId,PartitionNot unique.
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.