Table
RetailStatementTransHistory
Archived statement transactions
Archive of retail statement transaction lines. It holds counted, banked, safe, difference and transaction amounts per payment method, store and register. No key is listed in the metadata.
- Table name
RetailStatementTransHistory- 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 (45)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
addedToDrawerAmount added to the cash drawer. | RealRetailAddedToDrawerAmount | No | None | |
bankedAmountAmount banked. | RealRetailBankedAmount | No | None | |
bankedAmountMSTAmount banked, in accounting currency. | RealRetailBankedAmountMST | No | None | |
bankedAmountStoreAmount banked, as a store amount.low confidence | RealRetailBankedAmountStore | No | None | |
cardFeeAmountFee amount charged for the card. | RealRetailCardFeeAmount | No | None | |
cardTypeIdID of the card type. | StringRetailCardTypeId | No | None | |
CashLaterReturnedAmountCur_RUReturned amount, used for Russia.low confidence | RealAmountCur | No | None | |
changeTenderAmount given back as change. | RealRetailChangeTenderAmount | No | None | |
countedAmountAmount counted. | RealRetailCountedAmountCur | No | None | |
countedAmountMSTAmount counted, in accounting currency. | RealRetailCountedAmountMST | No | None | |
countedAmountStoreAmount counted, as a store amount.low confidence | RealRetailCountedAmountStore | No | None | |
currencyCurrency code of the transaction. | String (3)CurrencyCode | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionSet of default financial dimension values. | Int64DimensionDefault | No | None | |
differenceAmountDifference between the expected and counted amounts. | RealRetailDifferenceAmountCur | No | None | |
differenceAmountMSTDifference amount, in accounting currency. | RealRetailDifferenceAmountMST | No | None | |
differenceAmountStoreDifference amount, as a store amount.low confidence | RealRetailDifferenceAmountStore | No | None | |
inDrawerAtEndOfDayAmount left in the drawer at the end of the day. | RealRetailInDrawerAtEndOfDay | No | None | |
lineNumLine number within the statement. | RealLineNum | No | None | |
orderInvoiceAmountAmount of orders or invoices. | RealRetailOrderInvoiceAmountCur | No | None | |
orderInvoiceAmountMSTOrder or invoice amount, in accounting currency. | RealRetailOrderInvoiceAmountMST | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
postedDateDate the line was posted. | DateRetailPostedDate | No | None | |
realExchRateExchange rate used for the line. | RealExchRate | 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 | |
removedFromDrawerAmount removed from the cash drawer. | RealRetailRemovedFromDrawerAmount | No | None | |
replicationCounterCounter used for data replication. | IntegerRetailReplicationCounter | No | None | |
safeAmountAmount held in the safe. | RealRetailSafeAmount | No | None | |
safeAmountMSTSafe amount, in accounting currency. | RealRetailSafeAmountMST | No | None | |
safeAmountStoreSafe amount, as a store amount.low confidence | RealRetailSafeAmountStore | No | None | |
staffIdID of the operator. | String (25)RetailStaffId | No | None | |
statementCodeCode of the statement. | String (25)RetailStatementCode | No | None | |
statementIdNumber of the statement. | String (20)RetailStatementId | Yes | None | |
storeExchRateExchange rate used for the store. | RealExchRate | No | None | |
storeIdNumber of the store. | StringRetailStoreId | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SysRowVersionNumberSystem row version number.low confidence | Int64SysRowVersionNumber | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
tenderTypeIdID of the payment method used. | StringRetailTenderTypeId | No | None | |
terminalIdNumber of the POS register. | StringRetailTerminalId | No | None | |
transAmountTransaction amount. | RealRetailTransAmountCur | No | None | |
transAmountInMSTTransaction amount, in accounting currency. | RealRetailTransAmountInMST | No | None | |
transAmountStoreTransaction amount, as a store amount.low confidence | RealRetailTransAmountStore | No | None | |
uniqueShiftIdUnique ID of the shift. | String (21)RetailUniqueShiftId | No | None |
Indexes (2)
statementLineIdxstatementId,lineNum,DataAreaId,PartitionUnique, alternate key.
statementIdxstatementId,DataAreaId,PartitionNot unique.
Get this data out
No public entity reads from RetailStatementTransHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailStatementTransHistory in a report, an integration or a migration? Talk to Dr Dynamics.