Table
RetailPosBatchLine
Holds lines for a POS shift (batch), with amounts per payment method. Amounts include counted, banked, safe, drawer and transaction values. Many are given in the transaction, accounting and store currencies. Each line links to a shift in the shift table by store, register and shift ID.
- Table name
RetailPosBatchLine- Module
Commerce transactions and orders- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (41)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AddedToDrawerAmount added to the cash drawer. | RealRetailAddedToDrawerAmount | No | None | |
BankedAmountAmount banked, in the line's currency. | RealRetailBankedAmount | No | None | |
BankedAmountMSTAmount banked, in the accounting currency. | RealRetailBankedAmountMST | No | None | |
BankedAmountStoreAmount banked, in the store's currency. | RealRetailBankedAmountStore | No | None | |
BatchIdID of the shift that this line belongs to. | Int64RetailPosBatchID | Yes | RetailPosBatchTable.BatchID | None |
BatchTerminalIdNumber of the register used for the shift batch. | StringRetailTerminalId | No | None | |
CardFeeAmountFee amount charged for a card payment. | RealRetailCardFeeAmount | No | None | |
CardTypeIdIdentifier of the card type used. | StringRetailCardTypeId | No | None | |
CashLaterReturnedAmountCur_RUReturned amount in the transaction currency. Used for Russia.low confidence | RealAmountCur | No | None | |
CashLaterReturnedAmountMST_RUReturned amount in the accounting currency. Used for Russia.low confidence | RealAmountMST | No | None | |
CashLaterReturnedAmountStore_RUReturned amount in the store's currency. Used for Russia.low confidence | RealAmountMST | No | None | |
ChangeTenderAmount of change given back to the customer. | RealRetailChangeTenderAmount | No | None | |
CountedAmountAmount counted, in the line's currency. | RealRetailCountedAmountCur | No | None | |
CountedAmountMSTAmount counted, in the accounting currency. | RealRetailCountedAmountMST | No | None | |
CountedAmountStoreAmount counted, in the store's currency. | RealRetailCountedAmountStore | No | None | |
CreatedOnChannelYes or No flag showing whether the record was created at the channel. | EnumRetailCreatedOnChannelNoYes (enum) | No | None | |
CurrencyCurrency code for the line. | String (3)CurrencyCode | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LineNumNumber that orders the line within the shift. | RealLineNum | No | None | |
OrderInvoiceAmountOrder or invoice amount, in the line's currency. | RealRetailOrderInvoiceAmountCur | No | None | |
OrderInvoiceAmountMSTOrder or invoice amount, in the 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 | |
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 taken out of the cash drawer. | RealRetailRemovedFromDrawerAmount | No | None | |
SafeAmountAmount placed in the safe, in the line's currency. | RealRetailSafeAmount | No | None | |
SafeAmountMSTAmount placed in the safe, in the accounting currency. | RealRetailSafeAmountMST | No | None | |
SafeAmountStoreAmount placed in the safe, in the store's currency. | RealRetailSafeAmountStore | No | None | |
StaffIdIdentifier of the operator (staff member). | String (25)RetailStaffId | No | None | |
StatementCodeCode of the statement. | String (25)RetailStatementCode | No | None | |
StatementIdNumber of the statement. | String (20)RetailStatementId | No | None | |
StoreExchRateExchange rate used for the store currency. | RealExchRate | No | None | |
StoreIdStore number. With register and shift ID it points to a shift. | StringRetailStoreId | No | RetailPosBatchTable.StoreId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TenderTypeIdPayment method of the line. | StringRetailTenderTypeId | No | None | |
TerminalIdRegister number. With store and shift ID it points to a shift. | StringRetailTerminalId | No | RetailPosBatchTable.TerminalId | None |
TransAmountTransaction amount, in the line's currency. | RealRetailTransAmountCur | No | None | |
TransAmountMSTTransaction amount, in the accounting currency. | RealRetailTransAmountInMST | No | None | |
TransAmountStoreTransaction amount, in the store's currency. | RealRetailTransAmountStore | No | None | |
UniqueShiftIdUnique identifier of the shift. | String (21)RetailUniqueShiftId | No | None |
Indexes (2)
StoreTerminalBatchIdxStoreId,BatchTerminalId,BatchId,LineNumUnique, alternate key.
StatementLineIdxStoreId,StatementId,BatchTerminalId,BatchId,LineNumUnique, alternate key.
Relations (1)
Each relation joins RetailPosBatchLine to another table on the fields shown.
RetailPosBatchTable→RetailPosBatchTableJoin on
StoreId = RetailPosBatchTable.StoreId,TerminalId = RetailPosBatchTable.TerminalId,BatchId = RetailPosBatchTable.BatchIDMany RetailPosBatchLine records → zero or one RetailPosBatchTable record
Get this data out
No public entity reads from RetailPosBatchLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailPosBatchLine in a report, an integration or a migration? Talk to Dr Dynamics.