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 · root
  • CustTable · OuterJoin to smmContactPersonV2Entity · read-only
  • VendTable · OuterJoin to smmContactPersonV2Entity · read-only
  • ContactPerson · OuterJoin to smmContactPersonV2Entity · read-only
  • smmBusRelTable · OuterJoin to smmContactPersonV2Entity · read-only

Fields (52)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ContactPersonPartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
AssociatedPartyNumberParty number of the organisation or person the contact is linked to.String (40)
DirPartyNumber
NoNo (private)None
BirthDayDay of the month of the birth date.Integer
Day
NoYesDirPerson.BirthDay
BirthMonthMonth of the birth date.Enum
MonthsOfYear
  • None 0
  • January 1
  • February 2
  • March 3
  • April 4
  • May 5
  • June 6
  • July 7
  • August 8
  • September 9
  • October 10
  • November 11
  • December 12
NoYesDirPerson.BirthMonth
BirthYearYear of birth.Integer
YearBase
NoYesDirPerson.BirthYear
PrimaryAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
PrimaryAddressCountryRegionIdThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
PrimaryAddressCountryRegionISOCodeISO code of the country or region of the address.String (2)
LogisticsAddressCountryRegionISOCode
NoYesNone
PrimaryAddressCountyIdCounty code of the address. It depends on the country and state.String (30)
LogisticsAddressCountyId
NoYesLogisticsAddressCounty.CountyIdLogisticsPostalAddress.County
PrimaryAddressDescriptionName or description of the location.String (60)
LogisticsDescription
NoYesLogisticsLocation.Description
PrimaryAddressLocationRolesText listing the purposes of the postal address.String (1000)
DirPartyAddressLocationRoleNames
NoYesDirPartyLocation.PostalAddressRoles
PrimaryAddressStateIdState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressState.StateIdLogisticsPostalAddress.State
PrimaryAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
PrimaryAddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
PrimaryAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
EmploymentDepartmentDepartment where the contact works.String (50)
smmDepartment
NoYesContactPerson.Department
NotesFree text notes about the contact.String (-1)
smmContactPersonDetailsMemo
NoYesContactPerson.Memo
GenderGender of the person: unknown, male, female or non-specific.Enum
Gender
  • Unknown 0
  • Male 1
  • Female 2
  • NonSpecific 3
NoYesDirPerson.Gender
FirstNameFirst name of the person.String (50)
FirstName
NoYesDirPersonName.FirstName
GovernmentIdentificationNumberGovernment-issued ID number of the contact.String (50)
smmGovernmentIDNumber
NoYesContactPerson.GovernmentIDNumber
IsReceivingDirectMailYes/No value for direct mail.Enum
smmContactDirectMail
NoYes

Platform enum: values not in the metadata extract.

NoYesContactPerson.DirectMail
MaritalStatusMarital status: none, single, married, divorced or widowed.Enum
DirPersonMaritalStatus
  • None 0
  • Single 1
  • Married 2
  • Divorced 3
  • Widowhood 4
NoYesDirPerson.MaritalStatus
MiddleNameMiddle name of the person.String (50)
MiddleName
NoYesDirPersonName.MiddleName
ContactPersonPartyTypeType of party the contact person is, shown as a name.String (13)
DirPartyInstanceRelationTypeName
NoYesNone
PrimaryEmailAddressThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryPhoneNumberThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryFaxNumberThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryFacebookThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryLinkedInThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryTwitterThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
DecisionMakingRoleCodeDecision code that describes the contact's role in decisions.String (20)
smmDecisionId
NoYessmmDecisionGroup.DecisionIdContactPerson.Decision
EmploymentProfessionProfession of the contact.String (30)
smmProfession
NoYesContactPerson.Profession
IsInactiveShows whether the contact is inactive.Enum
SmmContactPersonInactive
NoYes

Platform enum: values not in the metadata extract.

NoYesContactPerson.Inactive
LastNameLast name of the person.String (50)
LastName
NoYesDirPersonName.LastName
PrimaryURLThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
ContactPersonResponsiblePersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
IsContactPersonExternallyMaintainedShows whether the contact is maintained outside this system.Enum
isExternallyMaintained
NoYes

Platform enum: values not in the metadata extract.

NoYesContactPerson.IsContactPersonExternallyMaintained
SpouseNameName of the contact's spouse.String (60)
smmSpouse
NoYesContactPerson.Spouse
AssociatedContactTypeType of record the contact is linked to, such as customer, vendor, contact or prospect.Enum
smmContactPersonCDSAssociatedContactType
  • Customer 0
  • Vendor 1
  • Contact 2
  • NotSupported 3
  • Prospect 4
NoYescomputed
AssociatedContactNumberNumber of the customer, vendor, contact or prospect that the contact is linked to.String (20)
smmContactPersonCDSAssociatedContactNumber
NoYescomputed
ContactPersonIdCode that identifies the contact.String (20)
ContactPersonId
NoYesContactPerson.ContactPersonId
PrimaryPostalAddressRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesLogisticsPostalAddress.RecId
PrimaryContactEmailRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesLogisticsElectronicAddress.RecId
PrimaryContactFaxRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesLogisticsElectronicAddress.RecId
PrimaryContactLinkedInRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesLogisticsElectronicAddress.RecId
PrimaryContactTwitterRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesLogisticsElectronicAddress.RecId
PrimaryContactFacebookRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesLogisticsElectronicAddress.RecId
PrimaryContactPhoneRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesLogisticsElectronicAddress.RecId
PrimaryContactTelexRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesLogisticsElectronicAddress.RecId
PrimaryContactURLRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesLogisticsElectronicAddress.RecId
PrimaryAddressLocationPoints to the primary address location of the party.Int64
LogisticsLocationRecId
NoYesLogisticsLocation.RecIdDirPartyTable.PrimaryAddressLocation
PartyRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesDirPartyTable.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.StateId

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

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

Email sales@drdynamics.co.uk