Table

RetailReturnPolicyChannelPaymentMapping

Payment mapping for channel return policies

Maps an original payment method to a payment method allowed for returns, within a channel return policy. Each row is identified by the return policy, the original tender type and a line number. It links to the channel return policy and to payment methods.

Table name
RetailReturnPolicyChannelPaymentMapping
Module
Commerce transactions and orders
Table group
Parameter
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
PaymentMappingIdx
Replacement key
None
Key fields
RetailReturnPolicyChannel, OriginalTenderTypeId, LineNumber
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RetailReturnPolicyChannelPoints to the channel return policy that this mapping belongs to.Int64
RetailReturnPolicyChannelRecId
NoRetailReturnPolicyChannel.RecIdRetailReturnPolicyChannelPaymentMappingEntity
OriginalTenderTypeIdThe payment method used on the original sale. It points to a payment method record.String
RetailReturnPolicyChannelOriginalTenderType
NoRetailTenderTypeTable.tenderTypeIdRetailReturnPolicyChannelPaymentMappingEntity
LineNumberNumber that orders the mapping lines within the policy.Real
LineNum
NoRetailReturnPolicyChannelPaymentMappingEntity
AllowedReturnTenderTypeIdThe payment method that may be used to refund a sale paid with the original payment method. It points to a payment method record.String
RetailReturnPolicyChannelAllowedReturnTenderType
NoRetailTenderTypeTable.tenderTypeIdRetailReturnPolicyChannelPaymentMappingEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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

Indexes (1)

Relations (3)

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

  • RetailReturnPolicyChannel → RetailReturnPolicyChannel

    Join on RetailReturnPolicyChannel = RetailReturnPolicyChannel.RecId

    Many RetailReturnPolicyChannelPaymentMapping records → exactly one RetailReturnPolicyChannel record

  • OriginalTenderType → RetailTenderTypeTable

    Join on OriginalTenderTypeId = RetailTenderTypeTable.tenderTypeId

    Cardinality not set in the metadata.

  • PreferredReturnTenderType → RetailTenderTypeTable

    Join on AllowedReturnTenderTypeId = RetailTenderTypeTable.tenderTypeId

    Cardinality not set in the metadata.

Get this data out

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

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

Email sales@drdynamics.co.uk