Data entity
RetailTransactionIncomeExpenseTransBIEntity
Entity for BI and analytics that holds income and expense lines from retail transactions. Each record has an account type, account number, amount, business date, shift and statement details. The key is store, register, transaction number, line number and channel.
- Entity name
RetailTransactionIncomeExpenseTransBIEntity- Public entity name
RetailTransactionIncomeExpenseTransBIEntity- OData collection
RetailTransactionIncomeExpenseTransBIEntities- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
No- Configuration key
Retail- Keys
store, terminal, transactionId, lineNum, Channel- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailTransactionIncomeExpenseTransBIEntities- Dataverse virtual table
mserp_retailtransactionincomeexpensetransbientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
RetailTransactionIncomeExpenseTrans· root
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
accountTypeShows whether the line is an income or an expense. | EnumRetailIncomeExpenseAccountType
| No | Yes | RetailTransactionIncomeExpenseTrans.accountType | |
amountAmount of the income or expense line. | RealAmount | No | Yes | RetailTransactionIncomeExpenseTrans.amount | |
businessDateBusiness date of the transaction. | DateRetailBusinessDate | No | Yes | RetailTransactionIncomeExpenseTrans.businessDate | |
ChannelRetail channel the transaction belongs to, pointing to the channel record. | Int64RefRecId | No | Yes | RetailChannelTable.RecId | RetailTransactionIncomeExpenseTrans.Channel |
counterCounter value stored with the line.low confidence | IntegerRetailCounter | No | Yes | RetailTransactionIncomeExpenseTrans.counter | |
incomeExepenseAccountNumber of the income or expense account used, pointing to the account record for the store. | StringRetailIncomeExepenseAccount | No | Yes | RetailIncomeExpenseAccountTable.accountNum | RetailTransactionIncomeExpenseTrans.incomeExepenseAccount |
lineNumLine number within the transaction. | RealLineNum | No | Yes | RetailTransactionIncomeExpenseTrans.lineNum | |
OriginNumber of the location where the record originated. | String (50)RetailConnDistributionLocationId | No | Yes | RetailTransactionIncomeExpenseTrans.Origin | |
receiptIdNumber printed on the receipt for this transaction. | String (18)RetailReceiptId | No | Yes | RetailTransactionIncomeExpenseTrans.receiptId | |
replicatedYes/No flag showing whether the record has been replicated. | EnumRetailReplicated
| No | Yes | RetailTransactionIncomeExpenseTrans.replicated | |
replicationCounterFromOriginCounter used to track replication of the record from where it was created. | IntegerRetailReplicationCounter | No | Yes | RetailTransactionIncomeExpenseTrans.replicationCounterFromOrigin | |
shiftIdentifier of the work shift of the transaction. | StringRetailShiftId | No | Yes | RetailTransactionIncomeExpenseTrans.shift | |
shiftDateDate of the work shift, linked to the work shift record. | DateRetailShiftDate | No | Yes | RetailTransactionIncomeExpenseTrans.shiftDate | |
staffID of the operator who handled the transaction. | String (25)RetailStaffId | No | Yes | RetailTransactionIncomeExpenseTrans.staff | |
statementCodeCode of the statement that the line is assigned to. | String (25)RetailStatementCode | No | Yes | RetailTransactionIncomeExpenseTrans.statementCode | |
statementIdNumber of the statement that includes this line, pointing to the statement record. | String (20)RetailStatementId | No | Yes | RetailStatementTable.statementId | RetailTransactionIncomeExpenseTrans.statementId |
storeNumber of the store where the transaction took place. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailTransactionIncomeExpenseTrans.store |
terminalNumber of the POS register that handled the transaction. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailTransactionIncomeExpenseTrans.terminal |
transactionIdNumber of the retail transaction that this line belongs to. | String (44)RetailTransactionId | No | Yes | RetailTransactionTable.transactionId | RetailTransactionIncomeExpenseTrans.transactionId |
transactionStatusStatus of the entry, for example voided, posted, concluded or on hold. | EnumRetailTransEntryStatus
| No | Yes | RetailTransactionIncomeExpenseTrans.transactionStatus | |
transDateDate of the transaction. | DateTransDate | No | Yes | RetailTransactionIncomeExpenseTrans.transDate | |
transTimeTime of the transaction. | TimeRetailTransTime | No | Yes | RetailTransactionIncomeExpenseTrans.transTime | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | RetailTransactionIncomeExpenseTrans.DataAreaId | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | RetailTransactionIncomeExpenseTrans.RecId |
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.
Channel→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailTransactionIncomeExpenseTrans records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
incomeExepenseAccount→RetailIncomeExpenseAccountTable.accountNum(key of RetailIncomeExpenseAccountTable)Join on all of:
incomeExepenseAccount=RetailIncomeExpenseAccountTable.accountNum,store=RetailIncomeExpenseAccountTable.storeIdMany RetailTransactionIncomeExpenseTrans records → exactly one RetailIncomeExpenseAccountTable record
RetailIncomeExpenseAccountTable details: see RetailIncomeExpenseAccountEntity
statementId→RetailStatementTable.statementId(key of RetailStatementTable)Many RetailTransactionIncomeExpenseTrans records → exactly one RetailStatementTable record
RetailStatementTable details: see RetailEodStatementAggregationEntity
store→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailTransactionIncomeExpenseTrans records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
terminal→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailTransactionIncomeExpenseTrans records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
transactionId→RetailTransactionTable.transactionId(key of RetailTransactionTable)Join on all of:
transactionId=RetailTransactionTable.transactionId,store=RetailTransactionTable.store,terminal=RetailTransactionTable.terminal,Channel=RetailTransactionTable.ChannelMany RetailTransactionIncomeExpenseTrans records → zero or one RetailTransactionTable record
RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity
Need help with RetailTransactionIncomeExpenseTransBIEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.