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 descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
amountCurAmount of the line in the transaction currency.Real
AmountCur
NoYesRetailTransactionOrderInvoiceTrans.amountCur
ChannelThe retail channel the transaction belongs to. Points to the channel record.Int64
RefRecId
NoYesRetailChannelTable.RecIdRetailTransactionOrderInvoiceTrans.Channel
invoiceIdNumber of the invoice linked to the line.String (50)
InvoiceId
NoYesRetailTransactionOrderInvoiceTrans.invoiceId
lineNumLine number within the transaction.Real
LineNum
NoYesRetailTransactionOrderInvoiceTrans.lineNum
OriginNumber of the location the record came from.String (50)
RetailConnDistributionLocationId
NoYesRetailTransactionOrderInvoiceTrans.Origin
replicationCounterFromOriginCounter used to track replication of the record from its origin location.Integer
RetailReplicationCounter
NoYesRetailTransactionOrderInvoiceTrans.replicationCounterFromOrigin
salesIdSales order linked to the line.String (20)
SalesId
NoYesSalesTable.SalesIdRetailTransactionOrderInvoiceTrans.salesId
salesOrderInvoiceTypeShows whether the line refers to a sales order or a sales invoice.Enum
RetailSalesOrderInvoiceType
  • SalesOrder 0
  • SalesInvoice 1
NoYesRetailTransactionOrderInvoiceTrans.salesOrderInvoiceType
statementIdStatement the line belongs to.String (20)
RetailStatementId
NoYesRetailStatementTable.statementIdRetailTransactionOrderInvoiceTrans.statementId
storeIdStore where the transaction took place.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailTransactionOrderInvoiceTrans.storeId
terminalIdRegister (POS terminal) where the transaction took place.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailTransactionOrderInvoiceTrans.terminalId
transactionIdNumber of the retail transaction the line belongs to.String (44)
RetailTransactionId
NoYesRetailTransactionTable.transactionIdRetailTransactionOrderInvoiceTrans.transactionId
transactionStatusStatus of the entry, such as voided, posted, concluded or on hold.Enum
RetailTransEntryStatus
RetailEntryStatus
  • None 0
  • Voided 1
  • Posted 2
  • Concluded 3
  • Cancelled 4
  • OnHold 5
  • Training 6
  • PendingInvoice 7
  • CreatingOrder 8
NoYesRetailTransactionOrderInvoiceTrans.transactionStatus
SysDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesRetailTransactionOrderInvoiceTrans.DataAreaId
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesRetailTransactionOrderInvoiceTrans.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.

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

Email sales@drdynamics.co.uk