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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SourceIDUnique ID of the source code.String (20)
MCRSourceID
YesMCRSourceCodeEntity
ActualCostActual cost amount recorded for the source code.Real
AmountCur
NoMCRSourceCodeEntity
CatalogCatalog linked to the source code.Int64
CatalogRefRecId
NoCatalog.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text that describes the source code.String (60)
Name
YesMCRSourceCodeEntity
DistributionQtyNumber of items distributed.Integer
MCRDistributionQty
NoMCRSourceCodeEntity
FutureOrderDateDate for future orders.Date
FuturesDate
NoMCRSourceCodeEntity
MailDateDate the mailing was sent.Date
MCRMailDate
NoMCRSourceCodeEntity
MailingCostsCost of mailing.Real
MCRMailingCosts
NoMCRSourceCodeEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
OnlyCatalogPlansYes or No flag that limits the source code to catalog plans.Enum
MCROnlyCatalogPlans
NoYes (enum)
NoMCRSourceCodeEntity
OtherCostOther cost amount, not covered by printing or mailing.Real
AmountCur
NoMCRSourceCodeEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintingCostsCost of printing.Real
MCRPrintingCosts
NoMCRSourceCodeEntity
ProjOrderDateProjected date of the first order.Date
FromDate
NoMCRSourceCodeEntity
ProjOrdersProjected number of orders.Integer
MCRProjOrders
NoMCRSourceCodeEntity
ProjReturnsProjected value of returns.Real
MCRProjReturns
NoMCRSourceCodeEntity
ProjSalesProjected sales value.Real
MCRProjSales
NoMCRSourceCodeEntity
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TargetIDTarget market ID, pointing to a customer target list.String
MCRTargetID
NoMCRTargetSetup.TargetIDMCRSourceCodeEntity

Indexes (2)

Relations (2)

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

  • Catalog → Catalog

    Join on Catalog = Catalog.RecId

    Many MCRSourceCodeSetup records → exactly one Catalog record

  • MCRTargetSetup → MCRTargetSetup

    Join on TargetID = MCRTargetSetup.TargetID

    Many 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.

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

Email sales@drdynamics.co.uk