Data entity

smmProspectD365SalesEntity

Holds prospects in a form prepared for exchange with Dynamics 365 Sales. Each prospect is keyed by prospect ID. It combines the prospect's type, credit, currency, customer group and tax settings with its name, primary email and address details such as street, city, country/region, coordinates and time zone.

Entity name
smmProspectD365SalesEntity
Public entity name
D365SalesProspect
OData collection
D365SalesProspects
Category
Not set
Module
Sales and marketing
Read-only
No
Data management enabled
Yes
Configuration key
SmmCRM
Keys
ProspectId
Staging table
smmProspectD365SalesStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/D365SalesProspects
Dataverse virtual table
mserp_smmprospectd365salesentity. 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

  • smmBusRelTable · root
  • DirPartyBaseEntity · InnerJoin to smmBusRelTable
  • DefaultDeliveryLocation (table smmBusRelDefaultDeliveryLocationView) · OuterJoin to smmBusRelTable
  • DeliveryLogisticsPostalAddressBaseEntity (table LogisticsPostalAddressBaseEntity) · OuterJoin to DefaultDeliveryLocation
  • smmBusRelTypeGroup · OuterJoin to smmBusRelTable · read-only

Fields (73)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
OnHoldStatusShows whether the prospect is blocked, and for which kind of transaction, such as invoices or all.Enum
smmRelationBlocked
CustVendorBlocked
  • No 0
  • Invoice 1
  • All 2
  • Payment 3
  • Requisition 4
  • Never 5
  • PurchOrder 6
NoYessmmBusRelTable.Blocked
ProspectIdAccount number that identifies the prospect.String (20)
smmBusRelAccount
YesYessmmBusRelTable.BusRelAccount
ProspectRelationTypeIdType of the prospect. Points to a relation type group.String (20)
smmBusRelTypeId
YesYessmmBusRelTypeGroup.TypeIdsmmBusRelTable.BusRelTypeId
CreditLimitCredit limit for the prospect (in accounting currency).Real
smmCreditMaxMST
NoYessmmBusRelTable.CreditMax
CreditRatingCredit rating given to the prospect.String
smmCreditRating
NoYessmmBusRelTable.CreditRating
CurrencyCodeCurrency used for the prospect. Points to a currency.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodesmmBusRelTable.Currency
CustomerGroupIdCustomer group for the prospect. Points to a customer group.String
CustGroupId
NoYesCustGroup.CustGroupsmmBusRelTable.CustGroup
IsCreditLimitCheckingRequiredYes/No setting that says whether a credit limit is required.Enum
MandatoryCreditLimit
NoYes

Platform enum: values not in the metadata extract.

NoYessmmBusRelTable.MandatoryCreditLimit
NoteFree-text note about the prospect.String (-1)
smmBusRelMemo
NoYessmmBusRelTable.Memo
IsOneTimeCustomerOrVendorYes/No setting that marks a one-time customer or vendor.Enum
smmOneTimeRelation
NoYes

Platform enum: values not in the metadata extract.

NoYessmmBusRelTable.OneTimeRelation
PartyParty record that holds the name of the prospect. Stores the RecId of the party.Int64
DirPartyRecId
NoNo (private)CustTable.PartyDirPartyTable.RecIdVendTable.PartysmmBusRelTable.Party
SalesTaxGroupCodeSales tax group for the prospect. Points to a tax group.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupsmmBusRelTable.TaxGroup
DeliveryAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
DeliveryAddressTimeZoneTime zone of the address.Enum
Timezone

Platform enum: values not in the metadata extract.

NoYesLogisticsPostalAddress.TimeZone
DeliveryAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
DeliveryAddressCountryRegionIdThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
DeliveryAddressCountryRegionISOCodeISO code of the country or region of the address.String (2)
LogisticsAddressCountryRegionISOCode
NoYesNone
DeliveryAddressCountyCounty code of the address. It depends on the country and state.String (30)
LogisticsAddressCountyId
NoYesLogisticsAddressCounty.CountyIdLogisticsPostalAddress.County
DeliveryAddressDistrictNameName of the district, as text.String (60)
LogisticsAddressDistrictName
NoYesLogisticsPostalAddress.DistrictName
DeliveryAddressLatitudeGeographic latitude of the address.Real
LogisticsAddressLatitude
NoYesLogisticsPostalAddress.Latitude
DeliveryAddressLongitudeGeographic longitude of the address.Real
LogisticsAddressLongitude
NoYesLogisticsPostalAddress.Longitude
DeliveryAddressLocationIdUnique ID of the location. It is the key of the table.String (40)
LogisticsLocationId
NoYesLogisticsLocation.LocationId
DeliveryAddressStateState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressState.StateIdLogisticsPostalAddress.State
DeliveryAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
DeliveryAddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
DeliveryAddressBuildingComplementExtra building detail, such as an entrance or floor.String (60)
LogisticsAddressBuildingCompliment
NoYesLogisticsPostalAddress.BuildingCompliment
DeliveryAddressValidFromDate and time from which the address is effective.UtcDateTime
EffectiveDateTime
NoYesLogisticsPostalAddress.ValidFrom
DeliveryAddressValidToDate and time when the address expires.UtcDateTime
ExpirationDateTime
NoYesLogisticsPostalAddress.ValidTo
ProspectNameFull name of the party.String (160)
DirPartyName
NoYesDirPartyTable.Name
OrganizationNumOfEmployeesNumber of employees in the organization.Integer
DirOrganizationNumberOfEmployees
NoYesDirOrganization.NumberOfEmployees
PrimaryEmailAddressThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryEmailAddressDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
IsPrimaryEmailAddressIMEnabledYes/no flag that marks the contact as instant message.Enum
LogisticsIsInstantMessage
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsElectronicAddress.IsInstantMessage
PrimaryEmailAddressPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryFaxNumberThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryFaxNumberDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryFaxNumberExtensionExtension number to add to the phone number.String
PhoneLocal
NoYesLogisticsElectronicAddress.LocatorExtension
PrimaryFaxNumberPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryPhoneNumberThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryPhoneNumberDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryPhoneNumberExtensionExtension number to add to the phone number.String
PhoneLocal
NoYesLogisticsElectronicAddress.LocatorExtension
IsPrimaryPhoneNumberMobileYes/no flag that marks the contact as a mobile phone.Enum
LogisticsIsMobilePhone
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsElectronicAddress.IsMobilePhone
PrimaryPhoneNumberPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryTelexThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryTelexDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryTelexPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryURLThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryURLDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryURLPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryFacebookThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryFacebookDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryFacebookPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryLinkedInThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryLinkedInDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryLinkedInPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryTwitterThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryTwitterDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryTwitterPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
LanguageIdPoints to the language of the party.String (7)
LanguageId
NoYesLanguageTable.LanguageIdDirPartyTable.LanguageId
ProspectPartyTypeRecord type of the party, such as person or organization.String (13)
DirPartyInstanceRelationTypeName
NoYesNone
ProspectPartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
DeliveryAddressRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesLogisticsPostalAddress.RecId
PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
ElectronicLocationIdID of the location that holds the party's electronic contact details.String (40)
LogisticsLocationId
NoYesNone
ProspectRelationTypeGroupIdSource table of the type: customer, vendor, relation or B2B prospect.Enum
smmBusRelTypeSourceTable
  • Customer 0
  • Vendor 1
  • Relation 2
  • B2BProspect 3
NoYessmmBusRelTypeGroup.TableType
PersonFirstNameFirst name of the person.String (50)
FirstName
NoYesDirPersonName.FirstName
PersonMiddleNameMiddle name of the person.String (50)
MiddleName
NoYesDirPersonName.MiddleName
PersonLastNamePrefixPrefix placed before the last name.String (25)
LastNamePrefix
NoYesDirPersonName.LastNamePrefix
PersonLastNameLast name of the person.String (50)
LastName
NoYesDirPersonName.LastName
PersonProfessionalTitleProfessional title of the person, as text.String (100)
DirNameProfessionalTitle
NoYesDirPerson.ProfessionalTitle
PersonProfessionalSuffixProfessional suffix after the name, as text.String (100)
DirNameProfessionalSuffix
NoYesDirPerson.ProfessionalSuffix
PersonGenderGender of the person: unknown, male, female or non-specific.Enum
Gender
  • Unknown 0
  • Male 1
  • Female 2
  • NonSpecific 3
NoYesDirPerson.Gender
PersonMaritalStatusMarital status: none, single, married, divorced or widowed.Enum
DirPersonMaritalStatus
  • None 0
  • Single 1
  • Married 2
  • Divorced 3
  • Widowhood 4
NoYesDirPerson.MaritalStatus

Foreign keys (11)

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.

Need help with smmProspectD365SalesEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk