Data entity

RetailPosBatchTableEntity

Holds point-of-sale shifts. Each record is keyed by store, register and shift ID. It includes the operator, start and closed dates and times, and totals such as sales, returns, discounts and customer sales. It also shows whether the shift is posted.

Entity name
RetailPosBatchTableEntity
Public entity name
PosBatchTable
OData collection
PosBatchTables
Category
Document
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
StoreId, TerminalId, BatchID
Staging table
RetailPosBatchTableStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PosBatchTables
Dataverse virtual table
mserp_retailposbatchtableentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • RetailPosBatchTable · root
  • RetailChannelTable · OuterJoin to RetailPosBatchTable · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable

Fields (68)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
TerminalIdNumber of the register where the shift was opened.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailPosBatchTable.TerminalId
BatchIDID of the shift.Int64
RetailPosBatchID
YesYesRetailPosBatchTable.BatchID
CancellationChargesAmount of cancellation charges for the shift.Real
Amount
NoYesRetailPosBatchTable.CancellationCharges
ChannelPoints to the retail channel.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailPosBatchTable.Channel
CloseDateDate on which the shift was closed.Date
TransDate
NoYesRetailPosBatchTable.CloseDate
CloseDateTimeUtcDate and time, in UTC, when the shift was closed.UtcDateTime
TransDateTime
NoYesRetailPosBatchTable.CloseDateTimeUtc
ClosedAtTerminalNumber of the register where the shift was closed.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailPosBatchTable.ClosedAtTerminal
CloseTimeTime of day when the shift was closed.Time
TimeOfDay
NoYesRetailPosBatchTable.CloseTime
CustomersCountNumber of customer sales in the shift.Integer
Counter
NoYesRetailPosBatchTable.CustomersCount
CustomerOrdersCanceledAmount of customer orders cancelled in the shift.Real
Amount
NoYesRetailPosBatchTable.CustomerOrdersCanceled
CustomerOrdersEditedAmount of customer orders edited in the shift.Real
Amount
NoYesRetailPosBatchTable.CustomerOrdersEdited
CustomerOrdersPlacedAmount of customer orders placed in the shift.Real
Amount
NoYesRetailPosBatchTable.CustomerOrdersPlaced
CustomerOrdersVoidedLinesAmount of voided customer order lines in the shift.Real
Amount
NoYesRetailPosBatchTable.CustomerOrdersVoidedLines
DepositCollectedAmount of deposits collected in the shift.Real
Amount
NoYesRetailPosBatchTable.DepositCollected
DepositRedeemedAmount of deposits redeemed in the shift.Real
Amount
NoYesRetailPosBatchTable.DepositRedeemed
DepositRefundedAmount of deposits refunded in the shift.Real
Amount
NoYesRetailPosBatchTable.DepositRefunded
DiscountTotalTotal discounts given in the shift.Real
Amount
NoYesRetailPosBatchTable.DiscountTotal
LogonsCountNumber of logons in the shift.Integer
Counter
NoYesRetailPosBatchTable.LogonsCount
NoSaleCountNumber of times the cash drawer was opened without a sale.Integer
Counter
NoYesRetailPosBatchTable.NoSaleCount
OriginLocation number the record came from.String (50)
RetailConnDistributionLocationId
NoYesRetailPosBatchTable.Origin
PaidToAccountTotalTotal amount paid to customer accounts in the shift.Real
Amount
NoYesRetailPosBatchTable.PaidToAccountTotal
PostedYes/no flag showing whether the shift is posted.Enum
Posted
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailPosBatchTable.Posted
ReplicationCounterCounter used to track replication of the record.Integer
RetailReplicationCounter
NoYesRetailPosBatchTable.ReplicationCounter
ReturnsTotalTotal value of returns in the shift.Real
Amount
NoYesRetailPosBatchTable.ReturnsTotal
RoundedAmountTotalTotal rounding amount in the shift.Real
Amount
NoYesRetailPosBatchTable.RoundedAmountTotal
SalesCountNumber of sales in the shift.Integer
Counter
NoYesRetailPosBatchTable.SalesCount
SalesTotalTotal value of sales in the shift.Real
Amount
NoYesRetailPosBatchTable.SalesTotal
StaffIdID of the operator who ran the shift.String (25)
RetailStaffId
NoYesRetailPosBatchTable.StaffId
StartDateDate on which the shift started.Date
TransDate
NoYesRetailPosBatchTable.StartDate
StartDateTimeUtcDate and time, in UTC, when the shift started.UtcDateTime
TransDateTime
NoYesRetailPosBatchTable.StartDateTimeUtc
StartTimeTime of day when the shift started.Time
TimeOfDay
NoYesRetailPosBatchTable.StartTime
StatementIdNumber of the statement linked to the shift.String (20)
RetailStatementId
NoYesRetailStatementTable.statementIdRetailPosBatchTable.StatementId
StatusStatus of the shift: open, closed or none.Enum
RetailPosBatchStatus
  • Open 1
  • Closed 2
  • None 0
NoYesRetailPosBatchTable.Status
StoreIdNumber of the store where the shift took place.String
RetailStoreId
YesYesRetailStoreTable.StoreNumberRetailPosBatchTable.StoreId
TaxTotalTotal taxes in the shift.Real
Amount
NoYesRetailPosBatchTable.TaxTotal
TransactionsCountNumber of transactions in the shift.Integer
Counter
NoYesRetailPosBatchTable.TransactionsCount
VoidsCountNumber of voided sales in the shift.Integer
Counter
NoYesRetailPosBatchTable.VoidsCount
GoodsSoldQtyQuantity of items sold in the shift.Real
Qty
NoYesRetailPosBatchTable.GoodsSoldQty
PriceOverrideTotalTotal of manual price reductions in the shift.Real
Amount
NoYesRetailPosBatchTable.PriceOverrideTotal
ReceiptCopiesCountNumber of receipt copies printed in the shift.Integer
Counter
NoYesRetailPosBatchTable.ReceiptCopiesCount
ReceiptCopiesTotalTotal amount on receipt copies printed in the shift.Real
Amount
NoYesRetailPosBatchTable.ReceiptCopiesTotal
ReturnsCountNumber of returns in the shift.Integer
Counter
NoYesRetailPosBatchTable.ReturnsCount
ReturnsGrandTotalGrand total of returns for the shift.Real
Amount
NoYesRetailPosBatchTable.ReturnsGrandTotal
SalesGrandTotalGrand total of sales for the shift.Real
Amount
NoYesRetailPosBatchTable.SalesGrandTotal
ServicesSoldQtyQuantity of services sold in the shift.Real
Qty
NoYesRetailPosBatchTable.ServicesSoldQty
SuspendedCountNumber of suspended transactions in the shift.Integer
Counter
NoYesRetailPosBatchTable.SuspendedCount
SuspendedTotalTotal value of suspended transactions in the shift.Real
Amount
NoYesRetailPosBatchTable.SuspendedTotal
TrainingCountNumber of training transactions in the shift.Integer
Counter
NoYesRetailPosBatchTable.TrainingCount
TrainingTotalTotal value of training transactions in the shift.Real
Amount
NoYesRetailPosBatchTable.TrainingTotal
GiftCardsTotalTotal amount of gift cards in the shift.Real
Amount
NoYesRetailPosBatchTable.GiftCardsTotal
GiftCardCashOutTotalTotal amount of gift card cash outs in the shift.Real
Amount
NoYesRetailPosBatchTable.GiftCardCashOutTotal
ReceiptsCountNumber of cash receipts in the shift.Integer
Counter
NoYesRetailPosBatchTable.ReceiptsCount
SalesTotalIncludingTaxTotal sales including VAT.Real
Amount
NoYesRetailPosBatchTable.SalesTotalIncludingTax
SalesTotalExcludingTaxTotal sales excluding VAT.Real
Amount
NoYesRetailPosBatchTable.SalesTotalExcludingTax
VoidedSalesTotalTotal value of voided sales in the shift.Real
Amount
NoYesRetailPosBatchTable.VoidedSalesTotal
ShiftReturnsTotalTotal cash returns in the shift.Real
Amount
NoYesRetailPosBatchTable.ShiftReturnsTotal
ShiftSalesTotalTotal cash sales in the shift.Real
Amount
NoYesRetailPosBatchTable.ShiftSalesTotal
ChargeTotalTotal charges in the shift.Real
Amount
NoYesRetailPosBatchTable.ChargeTotal
ZeroSalesCountNumber of sales with a zero value in the shift.Integer
Counter
NoYesRetailPosBatchTable.ZeroSalesCount
HasPendingOfflineTransactionsYes/no flag showing whether offline transactions are still pending.Enum
RetailHasPendingOfflineTransactions
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailPosBatchTable.HasPendingOfflineTransactions
ErrorFree-text message describing a shift validation error.String (-1)
RetailEodShiftValidationError
NoYesRetailPosBatchTable.Error
ErrorCodeValidation error state: none, error or acknowledged.Enum
RetailEodShiftValidationErrorCode
  • None 0
  • Error 1
  • Acknowledged 2
NoYesRetailPosBatchTable.ErrorCode
ErrorCodeDateTimeDate and time when the error was acknowledged.UtcDateTime
RetailEodShiftValidationErrorCodeDateTime
NoYesRetailPosBatchTable.ErrorCodeDateTime
ErrorCodeEditUserUser who last changed the shift.String
RetailEodShiftValidationErrorCodeEditUser
NoYesRetailPosBatchTable.ErrorCodeEditUser
MarkForFinancialStatementYes/no flag marking a statement for posting in a financial statement.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailPosBatchTable.MarkForFinancialStatement
ClosedAtBatchIdID of the shift at which this shift was closed.Int64
RetailPosBatchID
NoYesRetailPosBatchTable.ClosedAtBatchId
RetailChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record.Int64
RefRecId
NoNo (private)OMOperatingUnit.RecIdRetailChannelTable.OMOperatingUnitID
OMOperatingUnit_PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.PartyNumber

Foreign keys (6)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with RetailPosBatchTableEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk