Table

MCRTargetList

Target list

Links contacts and customers to a target market. Each record is identified by the target market ID and the party. It also holds the customer account and the contact ID.

Table name
MCRTargetList
Module
Commerce customers
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
MCRSourceCode
Primary index
TargetContact
Replacement key
TargetContact
Key fields
TargetID, Party
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TargetIDTarget market ID that this entry belongs to.String
MCRTargetID
YesMCRTargetSetup.TargetIDNone
PartySystem record ID of the party (customer or contact) in the global address book.Int64
DirPartyRecId
YesCustTable.PartyDirPartyTable.RecIdNone
ContactPersonIdID of the contact person.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdNone
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
CustAccountCustomer account of the entry.String (20)
CustAccount
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • TargetContactPrimary indexReplacement key

    TargetID, Party

    Unique, alternate key.

Relations (5)

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

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many MCRTargetList records → exactly one ContactPerson record

  • CustTable → CustTable

    Join on Party = CustTable.Party

    Many MCRTargetList records → zero or one CustTable record

  • DirPartyTable_FK → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Many MCRTargetList records → exactly one DirPartyTable record

  • MCRSourceCodeSetup → MCRSourceCodeSetup

    Join on TargetID = MCRSourceCodeSetup.TargetID

    Zero or one MCRTargetList record → zero or one MCRSourceCodeSetup record

  • MCRTargetSetup → MCRTargetSetup

    Join on TargetID = MCRTargetSetup.TargetID

    Many MCRTargetList records → exactly one MCRTargetSetup record

Get this data out

No public entity reads from MCRTargetList. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk