Data entity

RetailReturnedQuantitiesEntity

Records how much has been returned for a retail sales transaction line. It is keyed by operating unit, store, register, transaction number and line number. It also stores the time the last return was processed.

Entity name
RetailReturnedQuantitiesEntity
Public entity name
ReturnedQuantity
OData collection
ReturnedQuantities
Category
Transaction
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
OperatingUnitPartyNumber, Store, TerminalId, TransactionId, LineNum
Staging table
RetailReturnedQuantitiesStaging

Use it in Power BI and Power Platform

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

  • RetailReturnedQuantities · root
  • RetailChannelTable · OuterJoin to RetailReturnedQuantities · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailDirectSalesChannel · Derived to RetailChannelTable

Fields (9)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
LineNumLine number of the sales transaction line the return relates to.Real
LineNum
YesYesRetailReturnedQuantities.LineNum
ChannelPoints to the retail channel record.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailReturnedQuantities.Channel
StoreNumber of the store where the sale was made.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailReturnedQuantities.Store
TransactionIdNumber of the sales transaction.String (44)
RetailTransactionId
YesYesRetailReturnedQuantities.TransactionId
TerminalIdNumber of the POS register used.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailReturnedQuantities.TerminalId
ReturnedQtyQuantity that has been returned on the line.Real
Qty
YesYesRetailReturnedQuantities.ReturnedQty
LastReturnProcessedTimeTime of the latest return transaction counted in the returned quantity.UtcDateTime
LastReturnProcessedTime
YesYesRetailReturnedQuantities.LastReturnProcessedTime
RetailChannelTableOMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record.Int64
RefRecId
NoNo (private)OMOperatingUnit.RecIdRetailChannelTable.OMOperatingUnitID
OperatingUnitPartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.PartyNumber

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.

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

Email sales@drdynamics.co.uk