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· rootDirPartyBaseEntity· InnerJoin tosmmBusRelTableDefaultDeliveryLocation(tablesmmBusRelDefaultDeliveryLocationView) · OuterJoin tosmmBusRelTableDeliveryLogisticsPostalAddressBaseEntity(tableLogisticsPostalAddressBaseEntity) · OuterJoin toDefaultDeliveryLocationsmmBusRelTypeGroup· OuterJoin tosmmBusRelTable· read-only
Fields (73)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
OnHoldStatusShows whether the prospect is blocked, and for which kind of transaction, such as invoices or all. | EnumsmmRelationBlocked
| No | Yes | smmBusRelTable.Blocked | |
ProspectIdAccount number that identifies the prospect. | String (20)smmBusRelAccount | Yes | Yes | smmBusRelTable.BusRelAccount | |
ProspectRelationTypeIdType of the prospect. Points to a relation type group. | String (20)smmBusRelTypeId | Yes | Yes | smmBusRelTypeGroup.TypeId | smmBusRelTable.BusRelTypeId |
CreditLimitCredit limit for the prospect (in accounting currency). | RealsmmCreditMaxMST | No | Yes | smmBusRelTable.CreditMax | |
CreditRatingCredit rating given to the prospect. | StringsmmCreditRating | No | Yes | smmBusRelTable.CreditRating | |
CurrencyCodeCurrency used for the prospect. Points to a currency. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | smmBusRelTable.Currency |
CustomerGroupIdCustomer group for the prospect. Points to a customer group. | StringCustGroupId | No | Yes | CustGroup.CustGroup | smmBusRelTable.CustGroup |
IsCreditLimitCheckingRequiredYes/No setting that says whether a credit limit is required. | EnumMandatoryCreditLimit
| No | Yes | smmBusRelTable.MandatoryCreditLimit | |
NoteFree-text note about the prospect. | String (-1)smmBusRelMemo | No | Yes | smmBusRelTable.Memo | |
IsOneTimeCustomerOrVendorYes/No setting that marks a one-time customer or vendor. | EnumsmmOneTimeRelation
| No | Yes | smmBusRelTable.OneTimeRelation | |
PartyParty record that holds the name of the prospect. Stores the RecId of the party. | Int64DirPartyRecId | No | No (private) | CustTable.PartyDirPartyTable.RecIdVendTable.Party | smmBusRelTable.Party |
SalesTaxGroupCodeSales tax group for the prospect. Points to a tax group. | StringTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | smmBusRelTable.TaxGroup |
DeliveryAddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
DeliveryAddressTimeZoneTime zone of the address. | Enum
| No | Yes | LogisticsPostalAddress.TimeZone | |
DeliveryAddressCityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
DeliveryAddressCountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
DeliveryAddressCountryRegionISOCodeISO code of the country or region of the address. | String (2)LogisticsAddressCountryRegionISOCode | No | Yes | None | |
DeliveryAddressCountyCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
DeliveryAddressDistrictNameName of the district, as text. | String (60)LogisticsAddressDistrictName | No | Yes | LogisticsPostalAddress.DistrictName | |
DeliveryAddressLatitudeGeographic latitude of the address. | RealLogisticsAddressLatitude | No | Yes | LogisticsPostalAddress.Latitude | |
DeliveryAddressLongitudeGeographic longitude of the address. | RealLogisticsAddressLongitude | No | Yes | LogisticsPostalAddress.Longitude | |
DeliveryAddressLocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | No | Yes | LogisticsLocation.LocationId | |
DeliveryAddressStateState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LogisticsPostalAddress.State |
DeliveryAddressStreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
DeliveryAddressStreetNumberStreet or house number. | String (20)LogisticsAddressStreetNumber | No | Yes | LogisticsPostalAddress.StreetNumber | |
DeliveryAddressBuildingComplementExtra building detail, such as an entrance or floor. | String (60)LogisticsAddressBuildingCompliment | No | Yes | LogisticsPostalAddress.BuildingCompliment | |
DeliveryAddressValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | Yes | LogisticsPostalAddress.ValidFrom | |
DeliveryAddressValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | Yes | LogisticsPostalAddress.ValidTo | |
ProspectNameFull name of the party. | String (160)DirPartyName | No | Yes | DirPartyTable.Name | |
OrganizationNumOfEmployeesNumber of employees in the organization. | IntegerDirOrganizationNumberOfEmployees | No | Yes | DirOrganization.NumberOfEmployees | |
PrimaryEmailAddressThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryEmailAddressDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
IsPrimaryEmailAddressIMEnabledYes/no flag that marks the contact as instant message. | EnumLogisticsIsInstantMessage
| No | Yes | LogisticsElectronicAddress.IsInstantMessage | |
PrimaryEmailAddressPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryFaxNumberThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryFaxNumberDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryFaxNumberExtensionExtension number to add to the phone number. | StringPhoneLocal | No | Yes | LogisticsElectronicAddress.LocatorExtension | |
PrimaryFaxNumberPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryPhoneNumberThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryPhoneNumberDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryPhoneNumberExtensionExtension number to add to the phone number. | StringPhoneLocal | No | Yes | LogisticsElectronicAddress.LocatorExtension | |
IsPrimaryPhoneNumberMobileYes/no flag that marks the contact as a mobile phone. | EnumLogisticsIsMobilePhone
| No | Yes | LogisticsElectronicAddress.IsMobilePhone | |
PrimaryPhoneNumberPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryTelexThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryTelexDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryTelexPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryURLThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryURLDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryURLPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryFacebookThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryFacebookDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryFacebookPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryLinkedInThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryLinkedInDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryLinkedInPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryTwitterThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryTwitterDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryTwitterPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
LanguageIdPoints to the language of the party. | String (7)LanguageId | No | Yes | LanguageTable.LanguageId | DirPartyTable.LanguageId |
ProspectPartyTypeRecord type of the party, such as person or organization. | String (13)DirPartyInstanceRelationTypeName | No | Yes | None | |
ProspectPartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
DeliveryAddressRecordIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | LogisticsPostalAddress.RecId | |
PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
ElectronicLocationIdID of the location that holds the party's electronic contact details. | String (40)LogisticsLocationId | No | Yes | None | |
ProspectRelationTypeGroupIdSource table of the type: customer, vendor, relation or B2B prospect. | Enum
| No | Yes | smmBusRelTypeGroup.TableType | |
PersonFirstNameFirst name of the person. | String (50)FirstName | No | Yes | DirPersonName.FirstName | |
PersonMiddleNameMiddle name of the person. | String (50)MiddleName | No | Yes | DirPersonName.MiddleName | |
PersonLastNamePrefixPrefix placed before the last name. | String (25)LastNamePrefix | No | Yes | DirPersonName.LastNamePrefix | |
PersonLastNameLast name of the person. | String (50)LastName | No | Yes | DirPersonName.LastName | |
PersonProfessionalTitleProfessional title of the person, as text. | String (100)DirNameProfessionalTitle | No | Yes | DirPerson.ProfessionalTitle | |
PersonProfessionalSuffixProfessional suffix after the name, as text. | String (100)DirNameProfessionalSuffix | No | Yes | DirPerson.ProfessionalSuffix | |
PersonGenderGender of the person: unknown, male, female or non-specific. | Enum
| No | Yes | DirPerson.Gender | |
PersonMaritalStatusMarital status: none, single, married, divorced or widowed. | Enum
| No | Yes | DirPerson.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.
ProspectRelationTypeId→smmBusRelTypeGroup.TypeId(key of smmBusRelTypeGroup)Many smmBusRelTable records → exactly one smmBusRelTypeGroup record
Not exposed by a public entity.
CurrencyCode→Currency.CurrencyCode(key of Currency)Many smmBusRelTable records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
CustomerGroupId→CustGroup.CustGroup(key of CustGroup)Many smmBusRelTable records → zero or one CustGroup record
CustGroup details: see CustCustomerGroupEntity, RetailPriceGroupApplicabilityRuleEntity, WHSCustomerGroupProductFilterEntity
Party→CustTable.Party(key of CustTable)Zero or one smmBusRelTable record → zero or one CustTable record
CustTable details: see BusinessDocumentSalesInvoiceBaseEntity, CustCustomerV3Entity, CustFoundationExtendedEntity
Party→DirPartyTable.RecId(key of DirPartyTable)Zero or one smmBusRelTable record → zero or one DirPartyTable record
DirPartyTable details: see CustFoundationEntity, smmContactPersonV2Entity, CustCustomerV3Entity
Party→VendTable.Party(key of VendTable)Zero or one smmBusRelTable record → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
SalesTaxGroupCode→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many smmBusRelTable records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
DeliveryAddressCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
DeliveryAddressCounty→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
DeliveryAddressCounty=LogisticsAddressCounty.CountyId,DeliveryAddressCountryRegionId=LogisticsAddressCounty.CountryRegionId,DeliveryAddressState=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
DeliveryAddressState→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
DeliveryAddressState=LogisticsAddressState.StateId,DeliveryAddressCountryRegionId=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
LanguageId→LanguageTable.LanguageId(key of LanguageTable)Relation also requires LanguageTable.LabelFile = 1.
Many DirPartyTable records → zero or one LanguageTable record
LanguageTable details: see ConfirmingPOEntity, MainAccountTranslationEntity, RetailCatalogTranslationEntity
Need help with smmProspectD365SalesEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.