Data entity

RetailTransactionPaymentTrans_BRBIEntity

BI entity with payment lines for fiscal documents (model 2), used for Brazil. Each row holds the amount in transaction currency, the paid amount, the payment method, the entry status, and the date and time of the transaction. It is keyed by store, register, transaction number and line number.

Entity name
RetailTransactionPaymentTrans_BRBIEntity
Public entity name
RetailTransactionPaymentTrans_BRBIEntity
OData collection
RetailTransactionPaymentTrans_BRBIEntities
Category
Transaction
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
No
Configuration key
Retail
Keys
StoreId, TerminalId, TransactionId, lineNum
Staging table
None

Use it in Power BI and Power Platform

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

  • RetailTransactionPaymentTrans_BR · root

Fields (14)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
amountCurPayment amount in the transaction currency.Real
AmountCur
NoYesRetailTransactionPaymentTrans_BR.amountCur
amountTenderedAmount paid by the customer.Real
RetailAmountTendered
NoYesRetailTransactionPaymentTrans_BR.amountTendered
lineNumLine number within the transaction.Real
LineNum
NoYesRetailTransactionPaymentTrans_BR.lineNum
OriginNumber of the location the record came from.String (50)
RetailConnDistributionLocationId
NoYesRetailTransactionPaymentTrans_BR.Origin
ReplicationCounterFromOriginCounter used to track replication of the record from its origin location.Integer
RetailReplicationCounter
NoYesRetailTransactionPaymentTrans_BR.ReplicationCounterFromOrigin
StoreIdStore where the transaction took place.String
RetailStoreId
YesYesRetailStoreTable.StoreNumberRetailTransactionPaymentTrans_BR.StoreId
tenderTypePayment method used.String
RetailTenderTypeId
NoYesRetailTenderTypeTable.tenderTypeIdRetailTransactionPaymentTrans_BR.tenderType
TerminalIdRegister (POS terminal) where the transaction took place.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailTransactionPaymentTrans_BR.TerminalId
TransactionIdNumber of the transaction. Links to the fiscal receipt.String (44)
RetailTransactionId
YesYesRetailFiscalReceipt_BR.TransactionIdRetailTransactionPaymentTrans_BR.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
NoYesRetailTransactionPaymentTrans_BR.transactionStatus
transDateDate of the payment.Date
TransDate
NoYesRetailTransactionPaymentTrans_BR.transDate
transTimeTime of the payment.Time
RetailTransTime
NoYesRetailTransactionPaymentTrans_BR.transTime
SysDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesRetailTransactionPaymentTrans_BR.DataAreaId
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesRetailTransactionPaymentTrans_BR.RecId

Foreign keys (4)

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.

  • StoreId → RetailStoreTable.StoreNumber (key of RetailStoreTable)

    Many RetailTransactionPaymentTrans_BR records → exactly one RetailStoreTable record

    RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity

  • tenderType → RetailTenderTypeTable.tenderTypeId (key of RetailTenderTypeTable)

    Many RetailTransactionPaymentTrans_BR records → zero or one RetailTenderTypeTable record

    RetailTenderTypeTable details: see RetailTenderTypeEntity, RetailTenderDiscountEntity

  • TerminalId → RetailTerminalTable.terminalId (key of RetailTerminalTable)

    Many RetailTransactionPaymentTrans_BR records → exactly one RetailTerminalTable record

    RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity

  • TransactionId → RetailFiscalReceipt_BR.TransactionId (key of RetailFiscalReceipt_BR)

    Join on all of: TransactionId = RetailFiscalReceipt_BR.TransactionId, StoreId = RetailFiscalReceipt_BR.StoreId, TerminalId = RetailFiscalReceipt_BR.TerminalId

    One or more RetailTransactionPaymentTrans_BR records → exactly one RetailFiscalReceipt_BR record

    RetailFiscalReceipt_BR details: see RetailFiscalReceipt_BREntity

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

Email sales@drdynamics.co.uk