Table
MCRSourceCodeSetup
Source code setup
Setup records for source codes, keyed by source code ID. Each one holds planned and actual costs, projected orders, returns and sales, and dates. It can link to a catalog and a target market list.
- Table name
MCRSourceCodeSetup- Module
Commerce merchandising- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
MCRSourceCode- Primary index
SourceID- Replacement key
SourceID- Key fields
SourceID- Model
Foundation
Fields (27)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SourceIDUnique ID of the source code. | String (20)MCRSourceID | Yes | MCRSourceCodeEntity | |
ActualCostActual cost amount recorded for the source code. | RealAmountCur | No | MCRSourceCodeEntity | |
CatalogCatalog linked to the source code. | Int64CatalogRefRecId | No | Catalog.RecId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort text that describes the source code. | String (60)Name | Yes | MCRSourceCodeEntity | |
DistributionQtyNumber of items distributed. | IntegerMCRDistributionQty | No | MCRSourceCodeEntity | |
FutureOrderDateDate for future orders. | DateFuturesDate | No | MCRSourceCodeEntity | |
MailDateDate the mailing was sent. | DateMCRMailDate | No | MCRSourceCodeEntity | |
MailingCostsCost of mailing. | RealMCRMailingCosts | No | MCRSourceCodeEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | None | |
OnlyCatalogPlansYes or No flag that limits the source code to catalog plans. | EnumMCROnlyCatalogPlansNoYes (enum) | No | MCRSourceCodeEntity | |
OtherCostOther cost amount, not covered by printing or mailing. | RealAmountCur | No | MCRSourceCodeEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrintingCostsCost of printing. | RealMCRPrintingCosts | No | MCRSourceCodeEntity | |
ProjOrderDateProjected date of the first order. | DateFromDate | No | MCRSourceCodeEntity | |
ProjOrdersProjected number of orders. | IntegerMCRProjOrders | No | MCRSourceCodeEntity | |
ProjReturnsProjected value of returns. | RealMCRProjReturns | No | MCRSourceCodeEntity | |
ProjSalesProjected sales value. | RealMCRProjSales | No | MCRSourceCodeEntity | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TargetIDTarget market ID, pointing to a customer target list. | StringMCRTargetID | No | MCRTargetSetup.TargetID | MCRSourceCodeEntity |
Indexes (2)
Relations (2)
Each relation joins MCRSourceCodeSetup to another table on the fields shown.
Catalog→CatalogJoin on
Catalog = Catalog.RecIdMany MCRSourceCodeSetup records → exactly one Catalog record
MCRTargetSetup→MCRTargetSetupJoin on
TargetID = MCRTargetSetup.TargetIDMany MCRSourceCodeSetup records → exactly one MCRTargetSetup record
Get this data out
Tables are not exposed directly. These public entities read from MCRSourceCodeSetup; use one of them in Power BI, Power Platform or a data management project.
MCRSourceCodeEntity· 15 fields from this table
Need help with MCRSourceCodeSetup in a report, an integration or a migration? Talk to Dr Dynamics.