Data entity
WHSReturnDetailEntity
Read-only list of return headers, one row per return ID. Each row has the container ID, order type and number, shipment ID, account, ship and print times, return address, shipping carrier, carrier service and return tracking number.
- Entity name
WHSReturnDetailEntity- Public entity name
ReturnDetail- OData collection
ReturnDetails- Category
Not set- Module
WMS- Read-only
Yes- Data management enabled
Yes- Configuration key
WHSandTMS- Keys
ReturnID- Staging table
WHSReturnDetailStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ReturnDetails- Dataverse virtual table
mserp_whsreturndetailentity. 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
WHSReturnDetail· root
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ReturnIDUnique identifier of the return record. | String (20)WHSReturnID | Yes | Yes | WHSReturnDetail.ReturnID | |
ContainerIdContainer the return relates to. Points to a record in the containers table. | String (25)WHSContainerId | No | Yes | WHSContainerTable.ContainerId | WHSReturnDetail.ContainerId |
OrderTypeKind of order the return comes from: unsupported, sales order or outbound shipment order. | Enum
| No | Yes | WHSReturnDetail.OrderType | |
OrderNumberSales order number the return relates to. Points to a sales order. | String (20)WHSOrderNum | No | Yes | SalesTable.SalesId | WHSReturnDetail.OrderNumber |
ShipmentIdShipment the return relates to. Points to a shipment record. | String (20)WHSShipmentId | No | Yes | WHSShipmentTable.ShipmentId | WHSReturnDetail.ShipmentId |
AccountNumCustomer account for the return. Points to a customer. | String (20)CustVendAC | No | Yes | CustTable.AccountNum | WHSReturnDetail.AccountNum |
AccountNameName of the account for the return. | String (60)AccountName | No | Yes | WHSReturnDetail.AccountName | |
ShipmentDateDate and time, in UTC, when the goods were shipped. | UtcDateTimeWHSReturnDetailShipUTCDateTime | No | Yes | WHSReturnDetail.ShipUTCDateTime | |
PrintedDateAndTimeDate and time, in UTC, when the return details were printed. | UtcDateTimeWHSReturnDetailPrintedUTCDateTime | No | Yes | WHSReturnDetail.PrintedUTCDateTime | |
ReturnAddressNameName linked to the address where the return is sent. | String (100)WHSReturnAddressName | No | Yes | WHSReturnDetail.ReturnAddressName | |
ReturnAddressFull address where the return is sent. | String (250)WHSReturnAddress | No | Yes | WHSReturnDetail.ReturnAddress | |
CarrierCodeShipping carrier used for the return. Points to a carrier record. | String (20)TMSCarrierCode | No | Yes | TMSCarrier.CarrierCode | WHSReturnDetail.CarrierCode |
CarrierServiceCodeService of the carrier used for the return. Points to a carrier service, together with the carrier code. | String (20)TMSCarrierServiceCode | No | Yes | TMSCarrierService.CarrierServiceCode | WHSReturnDetail.CarrierServiceCode |
CarrierReturnTrackingNumberCarrier tracking number for the return shipment. | String (30)TMSReturnShipCarrierTrackingNum | No | Yes | WHSReturnDetail.ReturnShipCarrierTrackingNum |
Foreign keys (6)
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.
ContainerId→WHSContainerTable.ContainerId(key of WHSContainerTable)Many WHSReturnDetail records → zero or one WHSContainerTable record
Not exposed by a public entity.
OrderNumber→SalesTable.SalesId(key of SalesTable)Relation also requires OrderType = WHSReturnDetailOrderType::SalesOrder.
Many WHSReturnDetail records → zero or one SalesTable record
SalesTable details: see SalesOrderHeaderV3Entity, SalesOrderHeaderV2Entity, SalesOrderHeaderV4Entity
ShipmentId→WHSShipmentTable.ShipmentId(key of WHSShipmentTable)Many WHSReturnDetail records → zero or one WHSShipmentTable record
WHSShipmentTable details: see WHSOutboundShipmentHeaderEntity, WHSInboundShipmentHeaderEntity, WHSShipmentTableBiEntity
AccountNum→CustTable.AccountNum(key of CustTable)Relation also requires OrderType = WHSReturnDetailOrderType::SalesOrder.
Many WHSReturnDetail records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
CarrierCode→TMSCarrier.CarrierCode(key of TMSCarrier)Many WHSReturnDetail records → zero or one TMSCarrier record
TMSCarrier details: see TMSShippingCarrierEntity, TMSTransportationAppointmentDriverLogEntity, TMSTransportationAppointmentEntity
CarrierServiceCode→TMSCarrierService.CarrierServiceCode(key of TMSCarrierService)Join on all of:
CarrierServiceCode=TMSCarrierService.CarrierServiceCode,CarrierCode=TMSCarrierService.CarrierCodeMany WHSReturnDetail records → zero or one TMSCarrierService record
TMSCarrierService details: see TMSShippingCarrierServiceEntity
Need help with WHSReturnDetailEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.