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· rootRetailChannelTable· OuterJoin toRetailPosBatchAccountTrans· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailOnlineChannelTable· Derived toRetailChannelTableRetailMCRChannelTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTable
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountNumIncome or expense account that the amount is posted against. | StringRetailIncomeExepenseAccount | Yes | Yes | RetailIncomeExpenseAccountTable.accountNum | RetailPosBatchAccountTrans.AccountNum |
AccountTypeShows whether the account is an income or an expense account. | EnumRetailIncomeExpenseAccountType
| No | Yes | RetailPosBatchAccountTrans.AccountType | |
AmountTotal amount for the account in the shift. | RealTotal | No | Yes | RetailPosBatchAccountTrans.Amount | |
BatchIDIdentifies the shift. | Int64RetailPosBatchID | Yes | Yes | RetailPosBatchTable.BatchID | RetailPosBatchAccountTrans.BatchID |
ChannelPoints to the retail channel. | Int64RefRecId | No | No (private) | RetailChannelTable.RecId | RetailPosBatchAccountTrans.Channel |
OriginNumber of the location the record came from.low confidence | String (50)RetailConnDistributionLocationId | No | Yes | RetailPosBatchAccountTrans.Origin | |
ReplicationCounterCounter used to track data replication.low confidence | IntegerRetailReplicationCounter | No | Yes | RetailPosBatchAccountTrans.ReplicationCounter | |
StoreIdNumber of the store. | StringRetailStoreId | Yes | Yes | RetailStoreTable.StoreNumber | RetailPosBatchAccountTrans.StoreId |
TerminalIdNumber of the point-of-sale register. | StringRetailTerminalId | Yes | Yes | RetailTerminalTable.terminalId | RetailPosBatchAccountTrans.TerminalId |
RetailChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record. | Int64RefRecId | No | No (private) | OMOperatingUnit.RecId | RetailChannelTable.OMOperatingUnitID |
OMOperatingUnit_PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.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.storeIdMany 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.TerminalIdMany 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.