Data entity

RetailTransactionPaymentTrans_BREntity

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

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

Use it in Power BI and Power Platform

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

  • RetailTransactionPaymentTrans_BR · root

Fields (12)

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

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_BREntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk