Table

ReturnReasonCode

Return reason codes

Lists the reasons why items are returned. Each reason code has a description and can belong to a return reason code group. The key is the reason code ID.

Table name
ReturnReasonCode
Module
Sales and marketing
Table group
Reference
Table type
Regular
Data per company
Yes
Configuration key
ReturnItem
Primary index
ReturnReasonCodeIdx
Replacement key
ReturnReasonCodeIdx
Key fields
ReasonCodeId
Model
Foundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ReasonCodeIdUnique code of the return reason.String
ReturnReasonCodeId
YesReturnReasonCodeBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoReturnReasonCodeBiEntity
DescriptionShort text describing the reason.String (60)
Description
NoReturnReasonCodeBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReasonCodeGroupIdThe return reason code group that this code belongs to.String
ReturnReasonGroupId
YesReturnReasonCodeGroup.ReasonCodeGroupIdReturnReasonCodeBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoReturnReasonCodeBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoReturnReasonCodeBiEntity
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

Indexes (2)

Relations (1)

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

  • ReasonCodeGroup → ReturnReasonCodeGroup

    Join on ReasonCodeGroupId = ReturnReasonCodeGroup.ReasonCodeGroupId

    Many ReturnReasonCode records → exactly one ReturnReasonCodeGroup record

Get this data out

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

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

Email sales@drdynamics.co.uk