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· rootRetailChannelTable· OuterJoin toRetailReturnedQuantities· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailOnlineChannelTable· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTableRetailMCRChannelTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTable
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LineNumLine number of the sales transaction line the return relates to. | RealLineNum | Yes | Yes | RetailReturnedQuantities.LineNum | |
ChannelPoints to the retail channel record. | Int64RefRecId | No | No (private) | RetailChannelTable.RecId | RetailReturnedQuantities.Channel |
StoreNumber of the store where the sale was made. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailReturnedQuantities.Store |
TransactionIdNumber of the sales transaction. | String (44)RetailTransactionId | Yes | Yes | RetailReturnedQuantities.TransactionId | |
TerminalIdNumber of the POS register used. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailReturnedQuantities.TerminalId |
ReturnedQtyQuantity that has been returned on the line. | RealQty | Yes | Yes | RetailReturnedQuantities.ReturnedQty | |
LastReturnProcessedTimeTime of the latest return transaction counted in the returned quantity. | UtcDateTimeLastReturnProcessedTime | Yes | Yes | RetailReturnedQuantities.LastReturnProcessedTime | |
RetailChannelTableOMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record. | Int64RefRecId | No | No (private) | OMOperatingUnit.RecId | RetailChannelTable.OMOperatingUnitID |
OperatingUnitPartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.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.
Channel→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailReturnedQuantities records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
Store→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailReturnedQuantities records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
TerminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailReturnedQuantities records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
RetailChannelTableOMOperatingUnitID→OMOperatingUnit.RecId(key of OMOperatingUnit)Zero or one RetailChannelTable record → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
Need help with RetailReturnedQuantitiesEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.