Table
RetailReturnPolicyLine
Return Policy Line
Holds lines of a return policy. Each line can link to a store, a warehouse, a location and a pallet, and says whether inventory is blocked. Other return policy tables for reason codes and information codes build on these lines.
- Table name
RetailReturnPolicyLine- Module
Commerce transactions and orders- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BlockItemYes/No value showing whether inventory is blocked for this policy line. | EnumRetailBlockItemNoYes (enum) | No | RetailReturnPolicyLineEntityRetailReturnInfocodePolicyLineEntityRetailReturnReasoncodePolicyLineEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InstanceRelationTypePurpose not clear from the metadata.low confidence | Int64RelationType | No | None | |
InventLocationIdThe warehouse for this policy line. It points to a warehouse record. | StringInventLocationId | Yes | InventLocation.InventLocationId | RetailReturnPolicyLineEntityRetailReturnInfocodePolicyLineEntityRetailReturnReasoncodePolicyLineEntity |
LineNumNumber that orders the lines of the policy. | RealLineNum | No | RetailReturnPolicyLineEntityRetailReturnInfocodePolicyLineEntityRetailReturnReasoncodePolicyLineEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PolicyPoints to the return policy that owns this line. | Int64RefRecId | Yes | RetailReturnPolicy.RecId | RetailReturnPolicyLineEntityRetailReturnInfocodePolicyLineEntityRetailReturnReasoncodePolicyLineEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RetailStoreTablePoints to the store that this policy line applies to. | Int64RefRecId | Yes | RetailStoreTable.RecId | RetailReturnPolicyLineEntityRetailReturnInfocodePolicyLineEntityRetailReturnReasoncodePolicyLineEntity |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WMSLocationIdThe warehouse location for this policy line, used together with the warehouse. | StringWMSLocationId | No | WMSLocation.wMSLocationId | RetailReturnPolicyLineEntityRetailReturnInfocodePolicyLineEntityRetailReturnReasoncodePolicyLineEntity |
wMSPalletIdIdentifier of the pallet for this policy line. | String (18)WMSPalletId | No | RetailReturnPolicyLineEntityRetailReturnInfocodePolicyLineEntityRetailReturnReasoncodePolicyLineEntity |
Indexes (1)
Relations (4)
Each relation joins RetailReturnPolicyLine to another table on the fields shown.
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany RetailReturnPolicyLine records → exactly one InventLocation record
RetailReturnPolicy→RetailReturnPolicyJoin on
Policy = RetailReturnPolicy.RecIdMany RetailReturnPolicyLine records → exactly one RetailReturnPolicy record
RetailStoreTable→RetailStoreTableJoin on
RetailStoreTable = RetailStoreTable.RecIdMany RetailReturnPolicyLine records → exactly one RetailStoreTable record
WMSLocation→WMSLocationJoin on
WMSLocationId = WMSLocation.wMSLocationId,InventLocationId = WMSLocation.inventLocationIdMany RetailReturnPolicyLine records → zero or one WMSLocation record
Get this data out
Tables are not exposed directly. These public entities read from RetailReturnPolicyLine; use one of them in Power BI, Power Platform or a data management project.
RetailReturnPolicyLineEntity· 7 fields from this tableRetailReturnInfocodePolicyLineEntity· 7 fields from this tableRetailReturnReasoncodePolicyLineEntity· 7 fields from this table
Need help with RetailReturnPolicyLine in a report, an integration or a migration? Talk to Dr Dynamics.