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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ContactPersonIdCode that identifies the contact. | String (20)ContactPersonId | Yes | smmContactPersonV2EntityVRMContactPersonEntityContactPersonAIEntityand 4 more | |
AssistantNameName of the contact's assistant. | String (60)smmAssistantName | No | smmContactPersonV2EntityContactPersonCDREntity | |
AssistantPhonePhone number of the contact's assistant. | String (20)smmAssistantPhone | No | smmContactPersonV2EntityContactPersonCDREntity | |
BillingInformationFree text billing details for the contact. | String (150)smmBillingInformation | No | smmContactPersonV2EntityContactPersonCDREntity | |
CharacterContact character code that classifies the contact. | String (20)smmCharacterId | No | smmCharacterGroup.CharacterId | smmContactPersonV2EntityContactPersonCDREntity |
ComputerNetworkNameName of the contact's computer on the network. | StringsmmComputerNetworkName | No | smmContactPersonV2EntityContactPersonCDREntity | |
ContactForPartyParty (customer, vendor or other) that the person is a contact for. | Int64DirPartyRecId | Yes | CustTable.PartyDirPartyTable.RecIdVendTable.PartysmmBusRelTable.PartysmmQuotationCompetitorGroup.Party | smmContactPersonV2EntityVRMContactPersonEntityContactPersonAIEntityand 1 more |
ContactPersonParentIdContact who is the manager of this contact. | String (20)smmContactPersonParentId | No | ContactPerson.ContactPersonId | smmContactPersonV2EntityContactPersonCDREntity |
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 | ContactPersonCDREntity | |
CustAccountCustomer account that the contact is linked to. | String (20)CustAccount | No | CustTable.AccountNum | smmContactPersonV2EntityContactPersonCDREntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | ContactPersonCDREntity | |
DecisionDecision code that describes the contact's role in decisions. | String (20)smmDecisionId | No | smmDecisionGroup.DecisionId | smmContactPersonV2EntityContactPersonCDREntitysmmContactPersonCDSV2Entityand 1 more |
DepartmentDepartment where the contact works. | String (50)smmDepartment | No | smmContactPersonV2EntityContactPersonAIEntityContactPersonCDREntityand 2 more | |
DirectMailYes/No value for direct mail. | EnumsmmContactDirectMailNoYes (enum) | No | smmContactPersonV2EntityContactPersonCDREntitysmmContactPersonCDSV2Entityand 1 more | |
DocuGreeting1First complimentary close text used in documents. | String (255)smmContactGreeting1 | No | smmContactGreetingsGroup.GreetingId | smmContactPersonV2EntityContactPersonCDREntity |
DocuGreeting2Second complimentary close text used in documents. | String (255)smmContactGreeting2 | No | smmContactGreetingsGroup.GreetingId | smmContactPersonV2EntityContactPersonCDREntity |
DocuIntro1First salutation text used in documents. | String (25)smmContactIntro1 | No | smmContactIntroGroup.AddressingId | smmContactPersonV2EntityContactPersonCDREntity |
DocuIntro2Second salutation text used in documents. | String (25)smmContactIntro2 | No | smmContactIntroGroup.AddressingId | smmContactPersonV2EntityContactPersonCDREntity |
FunctionFunction code that describes the contact's role. | String (20)smmFunctionId | No | smmFunctionGroup.FunctionId | smmContactPersonV2EntityContactPersonAIEntityContactPersonCDREntity |
GovernmentIDNumberGovernment-issued ID number of the contact. | String (50)smmGovernmentIDNumber | No | smmContactPersonV2EntityContactPersonCDREntitysmmContactPersonCDSV2Entityand 1 more | |
ImportedYes/No value that marks the contact as imported. | EnumNoYesIdNoYes (enum) | No | smmContactPersonV2EntityContactPersonCDREntity | |
InactiveShows whether the contact is inactive. | EnumSmmContactPersonInactiveNoYes (enum) | No | smmContactPersonV2EntityVRMContactPersonEntityContactPersonCDREntityand 2 more | |
IsContactPersonExternallyMaintainedShows whether the contact is maintained outside this system. | EnumisExternallyMaintainedNoYes (enum) | No | smmContactPersonV2EntityContactPersonCDREntitysmmContactPersonCDSV2Entityand 1 more | |
LastEditAxDateTimeDate and time of the last edit. | UtcDateTimesmmDateTimeLastEdit | No | smmContactPersonV2EntityContactPersonCDREntity | |
LoyaltyLoyalty code assigned to the contact. | String (20)smmLoyaltyId | No | smmLoyaltyGroup.LoyaltyId | smmContactPersonV2EntityContactPersonCDREntity |
MainResponsibleWorkerEmployee who is mainly responsible for the contact. | Int64smmContactPersonMainResponsibleWorker | No | HcmWorker.RecId | smmContactPersonV2EntityContactPersonCDREntity |
MCRIsDefaultContactShows whether this is the default contact. | EnumNoYes (enum) | No | smmContactPersonV2EntityContactPersonCDREntity | |
MemoFree text notes about the contact. | String (-1)smmContactPersonDetailsMemo | No | smmContactPersonV2EntityContactPersonCDREntitysmmContactPersonCDSV2Entityand 1 more | |
MileageFree text mileage information. | String (199)smmMileage | No | smmContactPersonV2EntityContactPersonCDREntity | |
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 | ContactPersonCDREntity | |
OfficeLocationOffice where the contact is located. | String (30)smmOfficeLocation | No | smmContactPersonV2EntityContactPersonCDREntity | |
OrganizationalIDNumberOrganizational ID number of the contact. | String (25)smmOrganizationalIDNumber | No | smmContactPersonV2EntityContactPersonCDREntity | |
OutlookCategoriesOutlook categories assigned to the contact. | String (255)smmOutlookCategories | No | smmContactPersonV2EntityContactPersonCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartyPerson record in the global address book that holds the contact's name. | Int64DirPersonRecId | No | DirPartyTable.RecIdDirPerson.RecId | VRMContactPersonEntityContactPersonCDREntity |
PayeeDocument_RUIdentity card details of the payee, used for Russia. | String (100)PayeeDocument_RU | No | smmContactPersonV2EntityContactPersonCDREntity | |
ProfessionProfession of the contact. | String (30)smmProfession | No | smmContactPersonV2EntityContactPersonAIEntityContactPersonCDREntityand 2 more | |
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 | |
SensitivityPrivacy level of the contact: normal, personal, private or confidential. | EnumsmmSensitivity (enum) | No | smmContactPersonV2EntityContactPersonCDREntity | |
SpouseName of the contact's spouse. | String (60)smmSpouse | No | smmContactPersonV2EntityContactPersonCDREntitysmmContactPersonCDSV2Entityand 1 more | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TimeAvailableFromTime of day from which the contact is available. | TimesmmTMAvailableFrom | No | smmContactPersonV2EntityContactPersonCDREntity | |
TimeAvailableToTime of day until which the contact is available. | TimesmmTMAvailableTo | No | smmContactPersonV2EntityContactPersonCDREntity | |
TitleJob title of the contact. | String (30)PersonTitle | No | smmContactPersonV2EntityContactPersonCDREntity | |
VendorPortalAccessAllowedShows whether the contact may use vendor collaboration access. | EnumVendVendorPortalAccessAllowedNoYes (enum) | No | smmContactPersonV2EntityVRMContactPersonEntityContactPersonCDREntity | |
VendRoleRole of the contact for vendor requests: none, administrator or clerk. | EnumVendRequestRoleType (enum) | No | smmContactPersonV2EntityContactPersonCDREntity | |
VIPShows whether the contact is a VIP. | EnumsmmContactVIPNoYes (enum) | No | smmContactPersonV2EntityContactPersonCDREntity | |
WebRequestAccessYes/No value for requesting internet access. | EnumWebRequestWebAccessNoYes (enum) | No | smmContactPersonV2EntityContactPersonCDREntity |
Indexes (4)
ContactPersonIdPrimary indexReplacement keyUnique, alternate key.
PartyUnique, alternate key.
PartyContactPersonRecIdNot unique.
HcmWorkerIdxNot unique.
Relations (23)
Each relation joins ContactPerson to another table on the fields shown.
ContactPerson→ContactPersonJoin on
ContactPersonParentId = ContactPerson.ContactPersonIdMany ContactPerson records → zero or one ContactPerson record
DirAddressBookParty→DirAddressBookPartyAllViewJoin on
Party = DirAddressBookPartyAllView.PartyCardinality not set in the metadata.
DirPartyTable→DirPartyTableJoin on
Party = DirPartyTable.RecIdMany ContactPerson records → exactly one DirPartyTable record
DirPartyTableOrg_FK→DirPartyTableJoin on
ContactForParty = DirPartyTable.RecIdMany ContactPerson records → exactly one DirPartyTable record
DirPerson_FK→DirPersonJoin on
Party = DirPerson.RecIdMany ContactPerson records → exactly one DirPerson record
PersonTitleTable→PersonTitleTableJoin on
Title = PersonTitleTable.TitleMany ContactPerson records → zero or one PersonTitleTable record
CustTable→CustTableJoin on
ContactForParty = CustTable.PartyCardinality not set in the metadata.
CustTable_CustAccount→CustTableJoin on
CustAccount = CustTable.AccountNumCardinality not set in the metadata.
DirPartyView→DirPartyViewJoin on
Party = DirPartyView.PartyCardinality not set in the metadata.
MainResponsibleWorker→HcmWorkerJoin on
MainResponsibleWorker = HcmWorker.RecIdMany ContactPerson records → zero or one HcmWorker record
SalesCreateReleaseOrderTableTmp→SalesCreateReleaseOrderTableTmpJoin on
CustAccount = SalesCreateReleaseOrderTableTmp.CustAccountCardinality not set in the metadata.
smmBusRelTable→smmBusRelTableJoin on
ContactForParty = smmBusRelTable.PartyCardinality not set in the metadata.
smmCharacterGroup→smmCharacterGroupJoin on
Character = smmCharacterGroup.CharacterIdMany ContactPerson records → zero or one smmCharacterGroup record
smmContactGreetingsGroup1→smmContactGreetingsGroupJoin on
DocuGreeting1 = smmContactGreetingsGroup.GreetingIdMany ContactPerson records → zero or one smmContactGreetingsGroup record
smmContactGreetingsGroup2→smmContactGreetingsGroupJoin on
DocuGreeting2 = smmContactGreetingsGroup.GreetingIdMany ContactPerson records → zero or one smmContactGreetingsGroup record
smmContactIntroGroup1→smmContactIntroGroupJoin on
DocuIntro1 = smmContactIntroGroup.AddressingIdMany ContactPerson records → zero or one smmContactIntroGroup record
smmContactIntroGroup2→smmContactIntroGroupJoin on
DocuIntro2 = smmContactIntroGroup.AddressingIdMany ContactPerson records → zero or one smmContactIntroGroup record
smmDecisionGroup→smmDecisionGroupJoin on
Decision = smmDecisionGroup.DecisionIdMany ContactPerson records → zero or one smmDecisionGroup record
smmLoyaltyGroup→smmLoyaltyGroupJoin on
Loyalty = smmLoyaltyGroup.LoyaltyIdMany ContactPerson records → zero or one smmLoyaltyGroup record
smmQuotationCompetitorGroup→smmQuotationCompetitorGroupJoin on
ContactForParty = smmQuotationCompetitorGroup.PartyCardinality not set in the metadata.
VendTable→VendTableJoin on
ContactForParty = VendTable.PartyCardinality not set in the metadata.
smmFunctionGroup→smmFunctionGroupJoin on
Function = smmFunctionGroup.FunctionIdMany ContactPerson records → zero or one smmFunctionGroup record
CustHierarchy→CustHierarchyJoin on
ContactForParty = CustHierarchy.OrganizationPartyMany 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.
smmContactPersonV2Entity· 41 fields from this tableVRMContactPersonEntity· 5 fields from this tableContactPersonAIEntity· 5 fields from this tableContactPersonCDREntity· 45 fields from this tablesmmContactPersonCDSV2Entity· 10 fields from this tableQMSCAPACaseEntity· 1 field from this tablesmmContactPersonCDSEntity· 9 fields from this tableBusinessDocumentSalesInvoiceBaseEntity· 1 field from this table
Need help with ContactPerson in a report, an integration or a migration? Talk to Dr Dynamics.