Table
MCRReturnSalesTable
Return orders
Holds extra return order details for a sales order, one record per sales order reference. It shows whether the return is an exchange and whether credit is advanced or applied. It also points to the original sales order.
- Table name
MCRReturnSalesTable- Module
Commerce transactions and orders- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
None- Replacement key
SalesTableIdx- Key fields
SalesTable- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesTableSales order record this return detail belongs to. | Int64MCRSalesTableRefRecId | Yes | SalesTable.RecId | MCRReturnSalesTableBiEntity |
AdvanceCreditYes/No flag for advance credit on the return. | EnumMCRAdvanceCreditNoYes (enum) | No | MCRReturnSalesTableBiEntity | |
AdvanceExchangeAdvance exchange status: blank, hold for receipt or release exchange. | EnumMCRAdvanceExchange (enum) | No | MCRReturnSalesTableBiEntity | |
ApplyCreditToExchangeYes/No flag for applying credit to the exchange. | EnumMCRApplyCreditToExchangeNoYes (enum) | No | MCRReturnSalesTableBiEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | MCRReturnSalesTableBiEntity | |
IsExchangeYes/No flag showing whether the return is an exchange. | EnumNoYes (enum) | No | MCRReturnSalesTableBiEntity | |
OriginalSalesIdSales order that the return is made against. | String (20)MCROriginalSalesId | No | SalesTable.SalesId | MCRReturnSalesTableBiEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | MCRReturnSalesTableBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | MCRReturnSalesTableBiEntity | |
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 |
Indexes (1)
SalesTableIdxReplacement keyUnique, alternate key.
Relations (2)
Each relation joins MCRReturnSalesTable to another table on the fields shown.
OriginalSalesId→SalesTableJoin on
OriginalSalesId = SalesTable.SalesIdMany MCRReturnSalesTable records → exactly one SalesTable record
SalesTable→SalesTableJoin on
SalesTable = SalesTable.RecIdZero or one MCRReturnSalesTable record → exactly one SalesTable record
Get this data out
Tables are not exposed directly. These public entities read from MCRReturnSalesTable; use one of them in Power BI, Power Platform or a data management project.
MCRReturnSalesTableBiEntity· 9 fields from this table
Need help with MCRReturnSalesTable in a report, an integration or a migration? Talk to Dr Dynamics.