Data entity
RetailTransactionOrderInvoiceTransBIEntity
BI entity listing order and invoice lines on retail transactions. Each row links a transaction line to a sales order or invoice, with an amount in transaction currency and an entry status. It is keyed by store, register, transaction number, line number and channel.
- Entity name
RetailTransactionOrderInvoiceTransBIEntity- Public entity name
RetailTransactionOrderInvoiceTransBIEntity- OData collection
RetailTransactionOrderInvoiceTransBIEntities- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
No- Configuration key
Retail- Keys
storeId, terminalId, transactionId, lineNum, Channel- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailTransactionOrderInvoiceTransBIEntities- Dataverse virtual table
mserp_retailtransactionorderinvoicetransbientity. 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
RetailTransactionOrderInvoiceTrans· root
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
amountCurAmount of the line in the transaction currency. | RealAmountCur | No | Yes | RetailTransactionOrderInvoiceTrans.amountCur | |
ChannelThe retail channel the transaction belongs to. Points to the channel record. | Int64RefRecId | No | Yes | RetailChannelTable.RecId | RetailTransactionOrderInvoiceTrans.Channel |
invoiceIdNumber of the invoice linked to the line. | String (50)InvoiceId | No | Yes | RetailTransactionOrderInvoiceTrans.invoiceId | |
lineNumLine number within the transaction. | RealLineNum | No | Yes | RetailTransactionOrderInvoiceTrans.lineNum | |
OriginNumber of the location the record came from. | String (50)RetailConnDistributionLocationId | No | Yes | RetailTransactionOrderInvoiceTrans.Origin | |
replicationCounterFromOriginCounter used to track replication of the record from its origin location. | IntegerRetailReplicationCounter | No | Yes | RetailTransactionOrderInvoiceTrans.replicationCounterFromOrigin | |
salesIdSales order linked to the line. | String (20)SalesId | No | Yes | SalesTable.SalesId | RetailTransactionOrderInvoiceTrans.salesId |
salesOrderInvoiceTypeShows whether the line refers to a sales order or a sales invoice. | Enum
| No | Yes | RetailTransactionOrderInvoiceTrans.salesOrderInvoiceType | |
statementIdStatement the line belongs to. | String (20)RetailStatementId | No | Yes | RetailStatementTable.statementId | RetailTransactionOrderInvoiceTrans.statementId |
storeIdStore where the transaction took place. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailTransactionOrderInvoiceTrans.storeId |
terminalIdRegister (POS terminal) where the transaction took place. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailTransactionOrderInvoiceTrans.terminalId |
transactionIdNumber of the retail transaction the line belongs to. | String (44)RetailTransactionId | No | Yes | RetailTransactionTable.transactionId | RetailTransactionOrderInvoiceTrans.transactionId |
transactionStatusStatus of the entry, such as voided, posted, concluded or on hold. | EnumRetailTransEntryStatus
| No | Yes | RetailTransactionOrderInvoiceTrans.transactionStatus | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | RetailTransactionOrderInvoiceTrans.DataAreaId | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | RetailTransactionOrderInvoiceTrans.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 RetailTransactionOrderInvoiceTrans records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
salesId→SalesTable.SalesId(key of SalesTable)Many RetailTransactionOrderInvoiceTrans records → exactly one SalesTable record
SalesTable details: see SalesOrderHeaderV3Entity, SalesOrderHeaderV2Entity, SalesOrderHeaderV4Entity
statementId→RetailStatementTable.statementId(key of RetailStatementTable)Many RetailTransactionOrderInvoiceTrans records → exactly one RetailStatementTable record
RetailStatementTable details: see RetailEodStatementAggregationEntity
storeId→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailTransactionOrderInvoiceTrans records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
terminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailTransactionOrderInvoiceTrans records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
transactionId→RetailTransactionTable.transactionId(key of RetailTransactionTable)Join on all of:
transactionId=RetailTransactionTable.transactionId,terminalId=RetailTransactionTable.terminal,storeId=RetailTransactionTable.store,Channel=RetailTransactionTable.ChannelMany RetailTransactionOrderInvoiceTrans records → zero or one RetailTransactionTable record
RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity
Need help with RetailTransactionOrderInvoiceTransBIEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.