Data entity

RetailPosBatchEntity

Holds retail shifts at a point of sale register. Each shift has a shift ID, start and closed dates and times, a status, an operator and totals such as sales, returns, discounts, taxes and number of transactions. It links to the store and channel records. The key is the operating unit number, the terminal and the shift ID.

Entity name
RetailPosBatchEntity
Public entity name
RetailPosBatch
OData collection
RetailPosBatches
Category
Not set
Module
Cash management
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
OperationUnitNumber, Terminal, BatchShiftId
Staging table
RetailPosBatchStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailPosBatches
Dataverse virtual table
mserp_retailposbatchentity. 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
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable

Fields (57)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
TerminalNumber of the register where the shift was opened.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailPosBatchTable.TerminalId
BatchShiftIdID of the shift.Int64
RetailPosBatchID
YesYesRetailPosBatchTable.BatchID
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
ClosedAtRegisterNumberNumber 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
CustomerSalesCountNumber of customer sales in the shift.Integer
Counter
NoYesRetailPosBatchTable.CustomersCount
DiscountTotalAmountTotal 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
LocationNumberLocation 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.

NoNo (private)RetailPosBatchTable.Posted
ReplicationCounterCounter used to track replication of the record.Integer
RetailReplicationCounter
NoNo (private)RetailPosBatchTable.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
OperatorIdID 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
NoNo (private)RetailStatementTable.statementIdRetailPosBatchTable.StatementId
StatusStatus of the shift: open, closed or none.Enum
RetailPosBatchStatus
  • Open 1
  • Closed 2
  • None 0
NoYesRetailPosBatchTable.Status
OperationUnitNumberThe number that identifies the operating unit.String (30)
OMOperatingUnitNumber
YesYesOMOperatingUnit.OMOperatingUnitNumber
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
ItemsSoldQuantity 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
ServicesSoldQuantityQuantity 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
RetailChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record.Int64
RefRecId
NoNo (private)OMOperatingUnit.RecIdRetailChannelTable.OMOperatingUnitID
OrganizationPartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.PartyNumber
GiftCardsTotalTotal amount of gift cards in the shift.Real
Amount
NoYesRetailPosBatchTable.GiftCardsTotal
VoidedSalesTotalTotal value of voided sales in the shift.Real
Amount
NoYesRetailPosBatchTable.VoidedSalesTotal
ShiftSalesTotalTotal cash sales in the shift.Real
Amount
NoYesRetailPosBatchTable.ShiftSalesTotal
ShiftReturnsTotalTotal cash returns in the shift.Real
Amount
NoYesRetailPosBatchTable.ShiftReturnsTotal
GiftCardCashOutTotalTotal amount of gift card cash outs in the shift.Real
Amount
NoYesRetailPosBatchTable.GiftCardCashOutTotal
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
ErrorCodeValidation error state: none, error or acknowledged.Enum
RetailEodShiftValidationErrorCode
  • None 0
  • Error 1
  • Acknowledged 2
NoYesRetailPosBatchTable.ErrorCode
ErrorFree-text message describing a shift validation error.String (-1)
RetailEodShiftValidationError
NoYesRetailPosBatchTable.Error
ErrorCodeDateTimeDate and time when the error was acknowledged.UtcDateTime
RetailEodShiftValidationErrorCodeDateTime
NoYesRetailPosBatchTable.ErrorCodeDateTime
ErrorCodeEditUserUser who last changed the shift.String
RetailEodShiftValidationErrorCodeEditUser
NoYesRetailPosBatchTable.ErrorCodeEditUser
StoreNumberNumber of the store where the shift took place.String
RetailStoreId
YesYesRetailStoreTable.StoreNumberRetailPosBatchTable.StoreId
ClosedAtBatchIdID of the shift at which this shift was closed.Int64
RetailPosBatchID
NoYesRetailPosBatchTable.ClosedAtBatchId

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 RetailPosBatchEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk