Table

ContactPerson

Contacts

Holds contacts, meaning people linked to a customer, vendor or other party. Each contact has an ID and points to a person in the global address book. It stores personal and work details, a manager, a responsible employee and classification codes.

Table name
ContactPerson
Module
Sales and marketing
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
ContactPersonId
Replacement key
ContactPersonId
Key fields
ContactPersonId
Model
ContactPerson

Fields (52)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ContactPersonIdCode that identifies the contact.String (20)
ContactPersonId
YessmmContactPersonV2EntityVRMContactPersonEntityContactPersonAIEntityand 4 more
AssistantNameName of the contact's assistant.String (60)
smmAssistantName
NosmmContactPersonV2EntityContactPersonCDREntity
AssistantPhonePhone number of the contact's assistant.String (20)
smmAssistantPhone
NosmmContactPersonV2EntityContactPersonCDREntity
BillingInformationFree text billing details for the contact.String (150)
smmBillingInformation
NosmmContactPersonV2EntityContactPersonCDREntity
CharacterContact character code that classifies the contact.String (20)
smmCharacterId
NosmmCharacterGroup.CharacterIdsmmContactPersonV2EntityContactPersonCDREntity
ComputerNetworkNameName of the contact's computer on the network.String
smmComputerNetworkName
NosmmContactPersonV2EntityContactPersonCDREntity
ContactForPartyParty (customer, vendor or other) that the person is a contact for.Int64
DirPartyRecId
YesCustTable.PartyDirPartyTable.RecIdVendTable.PartysmmBusRelTable.PartysmmQuotationCompetitorGroup.PartysmmContactPersonV2EntityVRMContactPersonEntityContactPersonAIEntityand 1 more
ContactPersonParentIdContact who is the manager of this contact.String (20)
smmContactPersonParentId
NoContactPerson.ContactPersonIdsmmContactPersonV2EntityContactPersonCDREntity
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
NoContactPersonCDREntity
CustAccountCustomer account that the contact is linked to.String (20)
CustAccount
NoCustTable.AccountNumsmmContactPersonV2EntityContactPersonCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoContactPersonCDREntity
DecisionDecision code that describes the contact's role in decisions.String (20)
smmDecisionId
NosmmDecisionGroup.DecisionIdsmmContactPersonV2EntityContactPersonCDREntitysmmContactPersonCDSV2Entityand 1 more
DepartmentDepartment where the contact works.String (50)
smmDepartment
NosmmContactPersonV2EntityContactPersonAIEntityContactPersonCDREntityand 2 more
DirectMailYes/No value for direct mail.Enum
smmContactDirectMail
NoYes (enum)
NosmmContactPersonV2EntityContactPersonCDREntitysmmContactPersonCDSV2Entityand 1 more
DocuGreeting1First complimentary close text used in documents.String (255)
smmContactGreeting1
NosmmContactGreetingsGroup.GreetingIdsmmContactPersonV2EntityContactPersonCDREntity
DocuGreeting2Second complimentary close text used in documents.String (255)
smmContactGreeting2
NosmmContactGreetingsGroup.GreetingIdsmmContactPersonV2EntityContactPersonCDREntity
DocuIntro1First salutation text used in documents.String (25)
smmContactIntro1
NosmmContactIntroGroup.AddressingIdsmmContactPersonV2EntityContactPersonCDREntity
DocuIntro2Second salutation text used in documents.String (25)
smmContactIntro2
NosmmContactIntroGroup.AddressingIdsmmContactPersonV2EntityContactPersonCDREntity
FunctionFunction code that describes the contact's role.String (20)
smmFunctionId
NosmmFunctionGroup.FunctionIdsmmContactPersonV2EntityContactPersonAIEntityContactPersonCDREntity
GovernmentIDNumberGovernment-issued ID number of the contact.String (50)
smmGovernmentIDNumber
NosmmContactPersonV2EntityContactPersonCDREntitysmmContactPersonCDSV2Entityand 1 more
ImportedYes/No value that marks the contact as imported.Enum
NoYesId
NoYes (enum)
NosmmContactPersonV2EntityContactPersonCDREntity
InactiveShows whether the contact is inactive.Enum
SmmContactPersonInactive
NoYes (enum)
NosmmContactPersonV2EntityVRMContactPersonEntityContactPersonCDREntityand 2 more
IsContactPersonExternallyMaintainedShows whether the contact is maintained outside this system.Enum
isExternallyMaintained
NoYes (enum)
NosmmContactPersonV2EntityContactPersonCDREntitysmmContactPersonCDSV2Entityand 1 more
LastEditAxDateTimeDate and time of the last edit.UtcDateTime
smmDateTimeLastEdit
NosmmContactPersonV2EntityContactPersonCDREntity
LoyaltyLoyalty code assigned to the contact.String (20)
smmLoyaltyId
NosmmLoyaltyGroup.LoyaltyIdsmmContactPersonV2EntityContactPersonCDREntity
MainResponsibleWorkerEmployee who is mainly responsible for the contact.Int64
smmContactPersonMainResponsibleWorker
NoHcmWorker.RecIdsmmContactPersonV2EntityContactPersonCDREntity
MCRIsDefaultContactShows whether this is the default contact.Enum
NoYes (enum)
NosmmContactPersonV2EntityContactPersonCDREntity
MemoFree text notes about the contact.String (-1)
smmContactPersonDetailsMemo
NosmmContactPersonV2EntityContactPersonCDREntitysmmContactPersonCDSV2Entityand 1 more
MileageFree text mileage information.String (199)
smmMileage
NosmmContactPersonV2EntityContactPersonCDREntity
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
NoContactPersonCDREntity
OfficeLocationOffice where the contact is located.String (30)
smmOfficeLocation
NosmmContactPersonV2EntityContactPersonCDREntity
OrganizationalIDNumberOrganizational ID number of the contact.String (25)
smmOrganizationalIDNumber
NosmmContactPersonV2EntityContactPersonCDREntity
OutlookCategoriesOutlook categories assigned to the contact.String (255)
smmOutlookCategories
NosmmContactPersonV2EntityContactPersonCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyPerson record in the global address book that holds the contact's name.Int64
DirPersonRecId
NoDirPartyTable.RecIdDirPerson.RecIdVRMContactPersonEntityContactPersonCDREntity
PayeeDocument_RUIdentity card details of the payee, used for Russia.String (100)
PayeeDocument_RU
NosmmContactPersonV2EntityContactPersonCDREntity
ProfessionProfession of the contact.String (30)
smmProfession
NosmmContactPersonV2EntityContactPersonAIEntityContactPersonCDREntityand 2 more
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
SensitivityPrivacy level of the contact: normal, personal, private or confidential.Enum
smmSensitivity (enum)
NosmmContactPersonV2EntityContactPersonCDREntity
SpouseName of the contact's spouse.String (60)
smmSpouse
NosmmContactPersonV2EntityContactPersonCDREntitysmmContactPersonCDSV2Entityand 1 more
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TimeAvailableFromTime of day from which the contact is available.Time
smmTMAvailableFrom
NosmmContactPersonV2EntityContactPersonCDREntity
TimeAvailableToTime of day until which the contact is available.Time
smmTMAvailableTo
NosmmContactPersonV2EntityContactPersonCDREntity
TitleJob title of the contact.String (30)
PersonTitle
NosmmContactPersonV2EntityContactPersonCDREntity
VendorPortalAccessAllowedShows whether the contact may use vendor collaboration access.Enum
VendVendorPortalAccessAllowed
NoYes (enum)
NosmmContactPersonV2EntityVRMContactPersonEntityContactPersonCDREntity
VendRoleRole of the contact for vendor requests: none, administrator or clerk.Enum
VendRequestRoleType (enum)
NosmmContactPersonV2EntityContactPersonCDREntity
VIPShows whether the contact is a VIP.Enum
smmContactVIP
NoYes (enum)
NosmmContactPersonV2EntityContactPersonCDREntity
WebRequestAccessYes/No value for requesting internet access.Enum
WebRequestWebAccess
NoYes (enum)
NosmmContactPersonV2EntityContactPersonCDREntity

Indexes (4)

Relations (23)

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

  • ContactPerson → ContactPerson

    Join on ContactPersonParentId = ContactPerson.ContactPersonId

    Many ContactPerson records → zero or one ContactPerson record

  • DirAddressBookParty → DirAddressBookPartyAllView

    Join on Party = DirAddressBookPartyAllView.Party

    Cardinality not set in the metadata.

  • DirPartyTable → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Many ContactPerson records → exactly one DirPartyTable record

  • DirPartyTableOrg_FK → DirPartyTable

    Join on ContactForParty = DirPartyTable.RecId

    Many ContactPerson records → exactly one DirPartyTable record

  • DirPerson_FK → DirPerson

    Join on Party = DirPerson.RecId

    Many ContactPerson records → exactly one DirPerson record

  • PersonTitleTable → PersonTitleTable

    Join on Title = PersonTitleTable.Title

    Many ContactPerson records → zero or one PersonTitleTable record

  • CustTable → CustTable

    Join on ContactForParty = CustTable.Party

    Cardinality not set in the metadata.

  • CustTable_CustAccount → CustTable

    Join on CustAccount = CustTable.AccountNum

    Cardinality not set in the metadata.

  • DirPartyView → DirPartyView

    Join on Party = DirPartyView.Party

    Cardinality not set in the metadata.

  • MainResponsibleWorker → HcmWorker

    Join on MainResponsibleWorker = HcmWorker.RecId

    Many ContactPerson records → zero or one HcmWorker record

  • SalesCreateReleaseOrderTableTmp → SalesCreateReleaseOrderTableTmp

    Join on CustAccount = SalesCreateReleaseOrderTableTmp.CustAccount

    Cardinality not set in the metadata.

  • smmBusRelTable → smmBusRelTable

    Join on ContactForParty = smmBusRelTable.Party

    Cardinality not set in the metadata.

  • smmCharacterGroup → smmCharacterGroup

    Join on Character = smmCharacterGroup.CharacterId

    Many ContactPerson records → zero or one smmCharacterGroup record

  • smmContactGreetingsGroup1 → smmContactGreetingsGroup

    Join on DocuGreeting1 = smmContactGreetingsGroup.GreetingId

    Many ContactPerson records → zero or one smmContactGreetingsGroup record

  • smmContactGreetingsGroup2 → smmContactGreetingsGroup

    Join on DocuGreeting2 = smmContactGreetingsGroup.GreetingId

    Many ContactPerson records → zero or one smmContactGreetingsGroup record

  • smmContactIntroGroup1 → smmContactIntroGroup

    Join on DocuIntro1 = smmContactIntroGroup.AddressingId

    Many ContactPerson records → zero or one smmContactIntroGroup record

  • smmContactIntroGroup2 → smmContactIntroGroup

    Join on DocuIntro2 = smmContactIntroGroup.AddressingId

    Many ContactPerson records → zero or one smmContactIntroGroup record

  • smmDecisionGroup → smmDecisionGroup

    Join on Decision = smmDecisionGroup.DecisionId

    Many ContactPerson records → zero or one smmDecisionGroup record

  • smmLoyaltyGroup → smmLoyaltyGroup

    Join on Loyalty = smmLoyaltyGroup.LoyaltyId

    Many ContactPerson records → zero or one smmLoyaltyGroup record

  • smmQuotationCompetitorGroup → smmQuotationCompetitorGroup

    Join on ContactForParty = smmQuotationCompetitorGroup.Party

    Cardinality not set in the metadata.

  • VendTable → VendTable

    Join on ContactForParty = VendTable.Party

    Cardinality not set in the metadata.

  • smmFunctionGroup → smmFunctionGroup

    Join on Function = smmFunctionGroup.FunctionId

    Many ContactPerson records → zero or one smmFunctionGroup record

  • CustHierarchy → CustHierarchy

    Join on ContactForParty = CustHierarchy.OrganizationParty

    Many ContactPerson records → zero or one CustHierarchy record

Get this data out

Tables are not exposed directly. These public entities read from ContactPerson; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk