Data entity
MCRSourceCodeEntity
Holds source code setup records, keyed by source code ID. Each record has a description, a target market ID and a catalog number, plus cost figures (actual, mailing, printing, other). It also holds projected figures (orders, returns, sales, first order date) and the mailing and future order dates.
- Entity name
MCRSourceCodeEntity- Public entity name
MCRSourceCode- OData collection
MCRSourceCodes- Category
Not set- Module
Merchandising- Read-only
No- Data management enabled
Yes- Configuration key
MCRSourceCode- Keys
SourceId- Staging table
MCRSourceCodeStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/MCRSourceCodes- Dataverse virtual table
mserp_mcrsourcecodeentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
MCRSourceCodeSetup· rootCatalog· InnerJoin toMCRSourceCodeSetup· read-only
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ActualCostActual cost amount recorded for the source code. | RealAmountCur | No | Yes | MCRSourceCodeSetup.ActualCost | |
DescriptionShort text that describes the source code. | String (60)Name | Yes | Yes | MCRSourceCodeSetup.Description | |
DistributionQuantityNumber of items distributed. | IntegerMCRDistributionQty | No | Yes | MCRSourceCodeSetup.DistributionQty | |
FutureOrderDateDate for future orders. | DateFuturesDate | No | Yes | MCRSourceCodeSetup.FutureOrderDate | |
MailDateDate the mailing was sent. | DateMCRMailDate | No | Yes | MCRSourceCodeSetup.MailDate | |
MailingCostsCost of mailing. | RealMCRMailingCosts | No | Yes | MCRSourceCodeSetup.MailingCosts | |
OnlyCatalogPlansYes or No flag that limits the source code to catalog plans. | EnumMCROnlyCatalogPlans
| No | Yes | MCRSourceCodeSetup.OnlyCatalogPlans | |
OtherCostOther cost amount, not covered by printing or mailing. | RealAmountCur | No | Yes | MCRSourceCodeSetup.OtherCost | |
PrintingCostsCost of printing. | RealMCRPrintingCosts | No | Yes | MCRSourceCodeSetup.PrintingCosts | |
ProjectedFirstOrderDateProjected date of the first order. | DateFromDate | No | Yes | MCRSourceCodeSetup.ProjOrderDate | |
ProjectedOrdersProjected number of orders. | IntegerMCRProjOrders | No | Yes | MCRSourceCodeSetup.ProjOrders | |
ProjectedReturnsProjected value of returns. | RealMCRProjReturns | No | Yes | MCRSourceCodeSetup.ProjReturns | |
ProjectedSalesProjected sales value. | RealMCRProjSales | No | Yes | MCRSourceCodeSetup.ProjSales | |
SourceIdUnique ID of the source code. | String (20)MCRSourceID | Yes | Yes | MCRSourceCodeSetup.SourceID | |
TargetIdTarget market ID, pointing to a customer target list. | StringMCRTargetID | No | Yes | MCRTargetSetup.TargetID | MCRSourceCodeSetup.TargetID |
CatalogNumberCatalog number that identifies the catalog. | StringRetailCatalogId | No | Yes | Catalog.CatalogId |
Foreign keys (1)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
TargetId→MCRTargetSetup.TargetID(key of MCRTargetSetup)Many MCRSourceCodeSetup records → exactly one MCRTargetSetup record
Not exposed by a public entity.
Need help with MCRSourceCodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.