Data entity

RetailFiscalReceiptLine_BREntity

Holds the lines of fiscal receipts, used for Brazil. Each line is keyed by store, terminal, transaction ID and line number. It stores the item number, product type, CFOP, unit, price, quantity, gross amount, line discount and surcharge.

Entity name
RetailFiscalReceiptLine_BREntity
Public entity name
FiscalReceiptLine_BR
OData collection
FiscalReceiptLine_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
RetailFiscalReceiptLine_BRStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/FiscalReceiptLine_BR
Dataverse virtual table
mserp_retailfiscalreceiptline_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

  • RetailFiscalReceiptLine_BR · root

Fields (18)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CancelledQuantityQuantity on the line that was cancelled.Real
UnitQty
NoYesRetailFiscalReceiptLine_BR.CancelledQuantity
CFOPCFOP code of the line.String (5)
SalesPurchCFOPId_BR
NoYesRetailFiscalReceiptLine_BR.CFOP
ItemIdItem sold on the line. It points to an item.String (20)
ItemId
NoYesInventTable.ItemIdRetailFiscalReceiptLine_BR.ItemId
ItemTypeProduct type of the item. It points to a product type.String
InventProductTypeId_BR
NoYesInventProductTypeTable_BR.ProductTypeIdRetailFiscalReceiptLine_BR.ItemType
LineAmountGross amount of the line.Real
LineAmount
NoYesRetailFiscalReceiptLine_BR.LineAmount
LineDiscountAmountDiscount amount on the line.Real
SalesSumLineDiscAmount
NoYesRetailFiscalReceiptLine_BR.LineDiscountAmount
LineNumNumber of the line on the receipt.Real
LineNum
YesYesRetailFiscalReceiptLine_BR.LineNum
LineSurchargeAmountSurcharge amount on the line.Real
RetailSurchargeAmount_BR
NoYesRetailFiscalReceiptLine_BR.LineSurchargeAmount
OriginNumber of the location the record came from.String (50)
RetailConnDistributionLocationId
NoYesRetailFiscalReceiptLine_BR.Origin
PrintedLineDiscountAmountLine discount as printed on the receipt.Real
SalesSumLineDiscAmount
NoYesRetailFiscalReceiptLine_BR.PrintedLineDiscountAmount
PrintedLineSurchargeAmountLine surcharge as printed on the receipt.Real
RetailSurchargeAmount_BR
NoYesRetailFiscalReceiptLine_BR.PrintedLineSurchargeAmount
QuantityQuantity sold on the line, in units.Real
UnitQty
NoYesRetailFiscalReceiptLine_BR.Quantity
ReplicationCounterFromOriginCounter used when the record is replicated from its origin.Integer
RetailReplicationCounter
NoYesRetailFiscalReceiptLine_BR.ReplicationCounterFromOrigin
StoreIdStore where the sale was made. It points to a store.String
RetailStoreId
YesYesRetailStoreTable.StoreNumberRetailFiscalReceiptLine_BR.StoreId
TerminalIdRegister where the sale was made. It points to a register.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailFiscalReceiptLine_BR.TerminalId
TransactionIdTransaction number of the fiscal receipt that the line belongs to.String (44)
RetailTransactionId
YesYesRetailFiscalReceipt_BR.TransactionIdRetailFiscalReceiptLine_BR.TransactionId
UnitUnit of measure symbol for the quantity.String
UnitOfMeasureSymbol
NoYesRetailFiscalReceiptLine_BR.Unit
UnitPricePrice per unit on the line.Real
PriceCur
NoYesRetailFiscalReceiptLine_BR.UnitPrice

Foreign keys (5)

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.

  • ItemId → InventTable.ItemId (key of InventTable)

    Many RetailFiscalReceiptLine_BR records → zero or one InventTable record

    InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity

  • ItemType → InventProductTypeTable_BR.ProductTypeId (key of InventProductTypeTable_BR)

    Many RetailFiscalReceiptLine_BR records → zero or one InventProductTypeTable_BR record

    InventProductTypeTable_BR details: see InventProductTypeEntity

  • StoreId → RetailStoreTable.StoreNumber (key of RetailStoreTable)

    Many RetailFiscalReceiptLine_BR records → exactly one RetailStoreTable record

    RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity

  • TerminalId → RetailTerminalTable.terminalId (key of RetailTerminalTable)

    Many RetailFiscalReceiptLine_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

    Many RetailFiscalReceiptLine_BR records → exactly one RetailFiscalReceipt_BR record

    RetailFiscalReceipt_BR details: see RetailFiscalReceipt_BREntity

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

Email sales@drdynamics.co.uk