Data entity

RetailPosBatchAccountTransEntity

Holds account transactions recorded within a point-of-sale shift. Each record is keyed by store, register, shift ID and account number, and shows the account type and total. It also links to the retail channel and operating unit through the party ID.

Entity name
RetailPosBatchAccountTransEntity
Public entity name
PosBatchAccountTrans
OData collection
PosBatchAccountTrans
Category
Not set
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
StoreId, TerminalId, BatchID, AccountNum
Staging table
RetailPosBatchAccountTransStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PosBatchAccountTrans
Dataverse virtual table
mserp_retailposbatchaccounttransentity. 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

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

Fields (11)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountNumIncome or expense account that the amount is posted against.String
RetailIncomeExepenseAccount
YesYesRetailIncomeExpenseAccountTable.accountNumRetailPosBatchAccountTrans.AccountNum
AccountTypeShows whether the account is an income or an expense account.Enum
RetailIncomeExpenseAccountType
RetailIncomeExpense
  • Income 0
  • Expense 1
NoYesRetailPosBatchAccountTrans.AccountType
AmountTotal amount for the account in the shift.Real
Total
NoYesRetailPosBatchAccountTrans.Amount
BatchIDIdentifies the shift.Int64
RetailPosBatchID
YesYesRetailPosBatchTable.BatchIDRetailPosBatchAccountTrans.BatchID
ChannelPoints to the retail channel.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailPosBatchAccountTrans.Channel
OriginNumber of the location the record came from.low confidenceString (50)
RetailConnDistributionLocationId
NoYesRetailPosBatchAccountTrans.Origin
ReplicationCounterCounter used to track data replication.low confidenceInteger
RetailReplicationCounter
NoYesRetailPosBatchAccountTrans.ReplicationCounter
StoreIdNumber of the store.String
RetailStoreId
YesYesRetailStoreTable.StoreNumberRetailPosBatchAccountTrans.StoreId
TerminalIdNumber of the point-of-sale register.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailPosBatchAccountTrans.TerminalId
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.

  • AccountNum → RetailIncomeExpenseAccountTable.accountNum (key of RetailIncomeExpenseAccountTable)

    Join on all of: AccountNum = RetailIncomeExpenseAccountTable.accountNum, StoreId = RetailIncomeExpenseAccountTable.storeId

    Many RetailPosBatchAccountTrans records → exactly one RetailIncomeExpenseAccountTable record

    RetailIncomeExpenseAccountTable details: see RetailIncomeExpenseAccountEntity

  • BatchID → RetailPosBatchTable.BatchID (key of RetailPosBatchTable)

    Join on all of: BatchID = RetailPosBatchTable.BatchID, StoreId = RetailPosBatchTable.StoreId, TerminalId = RetailPosBatchTable.TerminalId

    Many RetailPosBatchAccountTrans records → exactly one RetailPosBatchTable record

    RetailPosBatchTable details: see RetailPosBatchTableEntity, RetailPosBatchEntity, RetailPosBatch2Entity

  • Channel → RetailChannelTable.RecId (key of RetailChannelTable)

    Many RetailPosBatchAccountTrans records → zero or one RetailChannelTable record

    RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity

  • StoreId → RetailStoreTable.StoreNumber (key of RetailStoreTable)

    Many RetailPosBatchAccountTrans records → exactly one RetailStoreTable record

    RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity

  • TerminalId → RetailTerminalTable.terminalId (key of RetailTerminalTable)

    Many RetailPosBatchAccountTrans records → exactly one RetailTerminalTable record

    RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity

  • RetailChannelTable_OMOperatingUnitID → OMOperatingUnit.RecId (key of OMOperatingUnit)

    Zero or one RetailChannelTable record → exactly one OMOperatingUnit record

    OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity

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

Email sales@drdynamics.co.uk