Table

RetailReturnReasonCodePolicyLine

Map sales and marketing reason codes with location

Links a return reason code to a return policy line, so that reason codes are mapped to a return location. It has one data field and relates to the return policy line and the return reason code tables.

Table name
RetailReturnReasonCodePolicyLine
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
Extends
RetailReturnPolicyLine

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReasonCodeIdThe return reason code mapped to the policy line. It points to a return reason code record.String
ReturnReasonCodeId
YesReturnReasonCode.ReasonCodeIdRetailReturnReasoncodePolicyLineEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Relations (2)

Each relation joins RetailReturnReasonCodePolicyLine to another table on the fields shown.

  • RetailReturnPolicyLine_ReasonCode → RetailReturnPolicyLine

    Join on RecId = RetailReturnPolicyLine.RecId

    Zero or one RetailReturnReasonCodePolicyLine record → exactly one RetailReturnPolicyLine record

  • ReturnReasonCode → ReturnReasonCode

    Join on ReasonCodeId = ReturnReasonCode.ReasonCodeId

    Many RetailReturnReasonCodePolicyLine records → exactly one ReturnReasonCode record

Get this data out

Tables are not exposed directly. These public entities read from RetailReturnReasonCodePolicyLine; use one of them in Power BI, Power Platform or a data management project.

Need help with RetailReturnReasonCodePolicyLine in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk