Data entity
smmContactPersonCDSV2Entity
Second version of the Dataverse contact persons entity. It is keyed by contact party number, associated contact type and associated contact number. The associated contact can be a customer, vendor, contact or prospect. It also holds name, address and primary contact details.
- Entity name
smmContactPersonCDSV2Entity- Public entity name
CDSContactPersonV2- OData collection
CDSContactPersonsV2- Category
Not set- Module
Sales and marketing- Read-only
No- Data management enabled
Yes- Configuration key
CDSIntegration- Keys
ContactPersonPartyNumber, AssociatedContactType, AssociatedContactNumber- Staging table
smmContactPersonCDSV2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CDSContactPersonsV2- Dataverse virtual table
mserp_smmcontactpersoncdsv2entity. 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
smmContactPersonV2Entity· rootCustTable· OuterJoin tosmmContactPersonV2Entity· read-onlyVendTable· OuterJoin tosmmContactPersonV2Entity· read-onlyContactPerson· OuterJoin tosmmContactPersonV2Entity· read-onlysmmBusRelTable· OuterJoin tosmmContactPersonV2Entity· read-only
Fields (52)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ContactPersonPartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
AssociatedPartyNumberParty number of the organisation or person the contact is linked to. | String (40)DirPartyNumber | No | No (private) | None | |
BirthDayDay of the month of the birth date. | IntegerDay | No | Yes | DirPerson.BirthDay | |
BirthMonthMonth of the birth date. | Enum
| No | Yes | DirPerson.BirthMonth | |
BirthYearYear of birth. | IntegerYearBase | No | Yes | DirPerson.BirthYear | |
PrimaryAddressCityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
PrimaryAddressCountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
PrimaryAddressCountryRegionISOCodeISO code of the country or region of the address. | String (2)LogisticsAddressCountryRegionISOCode | No | Yes | None | |
PrimaryAddressCountyIdCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
PrimaryAddressDescriptionName or description of the location. | String (60)LogisticsDescription | No | Yes | LogisticsLocation.Description | |
PrimaryAddressLocationRolesText listing the purposes of the postal address. | String (1000)DirPartyAddressLocationRoleNames | No | Yes | DirPartyLocation.PostalAddressRoles | |
PrimaryAddressStateIdState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LogisticsPostalAddress.State |
PrimaryAddressStreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
PrimaryAddressStreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
PrimaryAddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
EmploymentDepartmentDepartment where the contact works. | String (50)smmDepartment | No | Yes | ContactPerson.Department | |
NotesFree text notes about the contact. | String (-1)smmContactPersonDetailsMemo | No | Yes | ContactPerson.Memo | |
GenderGender of the person: unknown, male, female or non-specific. | Enum
| No | Yes | DirPerson.Gender | |
FirstNameFirst name of the person. | String (50)FirstName | No | Yes | DirPersonName.FirstName | |
GovernmentIdentificationNumberGovernment-issued ID number of the contact. | String (50)smmGovernmentIDNumber | No | Yes | ContactPerson.GovernmentIDNumber | |
IsReceivingDirectMailYes/No value for direct mail. | EnumsmmContactDirectMail
| No | Yes | ContactPerson.DirectMail | |
MaritalStatusMarital status: none, single, married, divorced or widowed. | Enum
| No | Yes | DirPerson.MaritalStatus | |
MiddleNameMiddle name of the person. | String (50)MiddleName | No | Yes | DirPersonName.MiddleName | |
ContactPersonPartyTypeType of party the contact person is, shown as a name. | String (13)DirPartyInstanceRelationTypeName | No | Yes | None | |
PrimaryEmailAddressThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryPhoneNumberThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryFaxNumberThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryFacebookThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryLinkedInThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryTwitterThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
DecisionMakingRoleCodeDecision code that describes the contact's role in decisions. | String (20)smmDecisionId | No | Yes | smmDecisionGroup.DecisionId | ContactPerson.Decision |
EmploymentProfessionProfession of the contact. | String (30)smmProfession | No | Yes | ContactPerson.Profession | |
IsInactiveShows whether the contact is inactive. | EnumSmmContactPersonInactive
| No | Yes | ContactPerson.Inactive | |
LastNameLast name of the person. | String (50)LastName | No | Yes | DirPersonName.LastName | |
PrimaryURLThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
ContactPersonResponsiblePersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
IsContactPersonExternallyMaintainedShows whether the contact is maintained outside this system. | EnumisExternallyMaintained
| No | Yes | ContactPerson.IsContactPersonExternallyMaintained | |
SpouseNameName of the contact's spouse. | String (60)smmSpouse | No | Yes | ContactPerson.Spouse | |
AssociatedContactTypeType of record the contact is linked to, such as customer, vendor, contact or prospect. | Enum
| No | Yes | computed | |
AssociatedContactNumberNumber of the customer, vendor, contact or prospect that the contact is linked to. | String (20)smmContactPersonCDSAssociatedContactNumber | No | Yes | computed | |
ContactPersonIdCode that identifies the contact. | String (20)ContactPersonId | No | Yes | ContactPerson.ContactPersonId | |
PrimaryPostalAddressRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsPostalAddress.RecId | |
PrimaryContactEmailRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsElectronicAddress.RecId | |
PrimaryContactFaxRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsElectronicAddress.RecId | |
PrimaryContactLinkedInRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsElectronicAddress.RecId | |
PrimaryContactTwitterRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsElectronicAddress.RecId | |
PrimaryContactFacebookRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsElectronicAddress.RecId | |
PrimaryContactPhoneRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsElectronicAddress.RecId | |
PrimaryContactTelexRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsElectronicAddress.RecId | |
PrimaryContactURLRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsElectronicAddress.RecId | |
PrimaryAddressLocationPoints to the primary address location of the party. | Int64LogisticsLocationRecId | No | Yes | LogisticsLocation.RecId | DirPartyTable.PrimaryAddressLocation |
PartyRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | DirPartyTable.RecId |
Foreign keys (5)
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.
PrimaryAddressCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
PrimaryAddressCountyId→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
PrimaryAddressCountyId=LogisticsAddressCounty.CountyId,PrimaryAddressCountryRegionId=LogisticsAddressCounty.CountryRegionId,PrimaryAddressStateId=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
PrimaryAddressStateId→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
PrimaryAddressStateId=LogisticsAddressState.StateId,PrimaryAddressCountryRegionId=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
DecisionMakingRoleCode→smmDecisionGroup.DecisionId(key of smmDecisionGroup)Many ContactPerson records → zero or one smmDecisionGroup record
smmDecisionGroup details: see smmDecisionMakingRoleEntity
PrimaryAddressLocation→LogisticsLocation.RecId(key of LogisticsLocation)Many DirPartyTable records → zero or one LogisticsLocation record
LogisticsLocation details: see AccountantEntity, CustPostalAddressV2Entity, DirPartyLocationPostalAddressEntity
Need help with smmContactPersonCDSV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.