Table
smmBusRelTable
Prospects
Holds prospects, which are potential customers or vendors, with one record per prospect account. The key is BusRelAccount. Each record links to a party name, and to groups such as type, status, segment, sales district and company chain. It also holds default trade and finance data, such as currency, delivery terms, tax group and credit limit.
- Table name
smmBusRelTable- Module
Sales and marketing- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
SmmCRM- Primary index
AccountIdx- Replacement key
AccountIdx- Key fields
BusRelAccount- Model
Foundation
Fields (46)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BusRelAccountAccount number that identifies the prospect. | String (20)smmBusRelAccount | Yes | smmProspectD365SalesEntitysmmProspectEntityDimAttributeSmmBusRelTableEntity | |
BlockedShows whether the prospect is blocked, and for which kind of transaction, such as invoices or all. | EnumsmmRelationBlockedCustVendorBlocked (enum) | No | smmProspectD365SalesEntitysmmProspectEntity | |
BusRelTypeIdType of the prospect. Points to a relation type group. | String (20)smmBusRelTypeId | Yes | smmBusRelTypeGroup.TypeId | smmProspectD365SalesEntitysmmProspectEntity |
CompanyChainCompany chain the prospect belongs to. Points to a company chain group. | String (20)smmChainId | No | smmBusRelChainGroup.ChainId | smmProspectEntity |
CompanyIdSiretFrench SIRET company number. | String (14)CompanyIdSiret | No | smmProspectEntity | |
CompanyNAFCodeNAF activity code of the company, used for France. Stores the RecId of a NAF code. | Int64CompanyNAFRecId | No | CompanyNAFCode.RecId | None |
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 | None | |
CreditMaxCredit limit for the prospect (in accounting currency). | RealsmmCreditMaxMST | No | smmProspectD365SalesEntitysmmProspectEntity | |
CreditRatingCredit rating given to the prospect. | StringsmmCreditRating | No | smmProspectD365SalesEntitysmmProspectEntity | |
CurrencyCurrency used for the prospect. Points to a currency. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | smmProspectD365SalesEntitysmmProspectEntity |
CustGroupCustomer group for the prospect. Points to a customer group. | StringCustGroupId | No | CustGroup.CustGroup | smmProspectD365SalesEntitysmmProspectEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension values. Stores the RecId of a dimension value set. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | smmProspectEntity |
DestinationCodeIdDestination code for the prospect. Points to a destination code. | StringsmmDestinationCodeId | No | DestinationCode.DestinationCodeId | smmProspectEntity |
DirectMailYes/No setting that shows whether direct mail may be sent. | EnumsmmBusRelDirectMailNoYes (enum) | No | smmProspectEntity | |
DlvModeDefault mode of delivery. Points to a delivery mode. | StringsmmDlvModeId | No | DlvMode.Code | smmProspectEntity |
DlvTermDefault terms of delivery. Points to a delivery term. | StringsmmDlvTermId | No | DlvTerm.Code | smmProspectEntity |
FiscalCodeFiscal code of the prospect. | String (16)FiscalCode | No | smmProspectEntity | |
FreightZoneUPS freight zone for the prospect. | StringsmmFreightZoneId | No | smmProspectEntity | |
ImportedYes/No setting that shows whether the record was imported. | EnumNoYesIdNoYes (enum) | No | smmProspectEntity | |
InclTaxYes/No setting that shows whether prices include sales tax. | EnumInclTaxNoYes (enum) | No | smmProspectEntity | |
IsIntegrationIntegration type of the record: none, Dataverse integration, Dynamics 365 Sales or data entity. | EnumTradeIntegrationType (enum) | No | None | |
LineOfBusinessIdLine of business of the prospect. Points to a line of business. | StringLineOfBusinessId | No | LineOfBusiness.LineOfBusinessId | smmProspectEntity |
MainContactWorkerMain contact for the prospect. Stores the RecId of a worker. | Int64smmBusRelAccResponsibleWorker | No | HcmWorker.RecId | smmProspectEntity |
MandatoryCreditLimitYes/No setting that says whether a credit limit is required. | EnumMandatoryCreditLimitNoYes (enum) | No | smmProspectD365SalesEntitysmmProspectEntity | |
MCRPackedExtensionsPacked container of extension data.low confidence | ContainerSysExtensionSerializerPackedContainer | No | None | |
MemoFree-text note about the prospect. | String (-1)smmBusRelMemo | No | smmProspectD365SalesEntitysmmProspectEntity | |
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 | None | |
OneTimeRelationYes/No setting that marks a one-time customer or vendor. | EnumsmmOneTimeRelationNoYes (enum) | No | smmProspectD365SalesEntitysmmProspectEntity | |
OpenFromTimeTime of day when the prospect opens. | TimesmmBusRelOpenFromTime | No | smmProspectEntity | |
OpenToTimeTime of day when the prospect closes. | TimesmmBusRelOpenToTime | No | smmProspectEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartyParty record that holds the name of the prospect. Stores the RecId of the party. | Int64DirPartyRecId | No | CustTable.PartyDirPartyTable.RecIdVendTable.Party | smmProspectD365SalesEntity |
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 | |
SalesCalendarIdReceipt calendar of the prospect. Points to a work calendar. | StringSalesCalendarId | No | WorkCalendarTable.CalendarId | smmProspectEntity |
SalesDistrictSales district of the prospect. Points to a sales district group. | String (20)smmSalesDistrictId | No | smmBusRelSalesDistrictGroup.SalesDistrictId | smmProspectEntity |
SegmentSegment the prospect belongs to. Points to a segment group. | String (20)smmSegmentId | No | smmBusRelSegmentGroup.SegmentId | smmProspectEntity |
StatusStatus of the prospect. Points to a status group. | String (20)smmStatusId | No | smmBusRelStatusGroup.StatusId | smmProspectEntity |
SubsegmentSubsegment within the chosen segment. Points to a subsegment group. | String (20)smmSubsegmentId | No | smmBusRelSubSegmentGroup.SubsegmentId | smmProspectEntity |
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 | |
TaxGroupSales tax group for the prospect. Points to a tax group. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | smmProspectD365SalesEntitysmmProspectEntity |
VendGroupVendor group for the prospect. Points to a vendor group. | StringVendGroupId | No | VendGroup.VendGroup | smmProspectEntity |
Indexes (6)
PartyUnique, alternate key.
DefaultDimensionIdxNot unique.
CompanyNAFCodeIdxNot unique.
AccountIdxPrimary indexReplacement keyUnique, alternate key.
SalesManagementIdxNot unique.
BusRelTypeIdxNot unique.
Relations (24)
Each relation joins smmBusRelTable to another table on the fields shown.
CompanyNAFCode→CompanyNAFCodeJoin on
CompanyNAFCode = CompanyNAFCode.RecIdMany smmBusRelTable records → zero or one CompanyNAFCode record
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany smmBusRelTable records → exactly one Currency record
CustGroup→CustGroupJoin on
CustGroup = CustGroup.CustGroupMany smmBusRelTable records → zero or one CustGroup record
CustTable→CustTableJoin on
Party = CustTable.PartyZero or one smmBusRelTable record → zero or one CustTable record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany smmBusRelTable records → zero or one DimensionAttributeValueSet record
DestinationCode→DestinationCodeJoin on
DestinationCodeId = DestinationCode.DestinationCodeIdMany smmBusRelTable records → zero or one DestinationCode record
DirAddressBookParty→DirAddressBookPartyAllViewJoin on
Party = DirAddressBookPartyAllView.PartyCardinality not set in the metadata.
DirPartyTable_FK→DirPartyTableJoin on
Party = DirPartyTable.RecIdZero or one smmBusRelTable record → zero or one DirPartyTable record
DirPartyView→DirPartyViewJoin on
Party = DirPartyView.PartyCardinality not set in the metadata.
DlvMode→DlvModeJoin on
DlvMode = DlvMode.CodeMany smmBusRelTable records → zero or one DlvMode record
DlvTerm→DlvTermJoin on
DlvTerm = DlvTerm.CodeMany smmBusRelTable records → zero or one DlvTerm record
LineOfBusiness→LineOfBusinessJoin on
LineOfBusinessId = LineOfBusiness.LineOfBusinessIdMany smmBusRelTable records → zero or one LineOfBusiness record
MainContactWorker→HcmWorkerJoin on
MainContactWorker = HcmWorker.RecIdMany smmBusRelTable records → zero or one HcmWorker record
smmBusRelChainGroup→smmBusRelChainGroupJoin on
CompanyChain = smmBusRelChainGroup.ChainIdMany smmBusRelTable records → zero or one smmBusRelChainGroup record
smmBusRelSalesDistrictGroup→smmBusRelSalesDistrictGroupJoin on
SalesDistrict = smmBusRelSalesDistrictGroup.SalesDistrictIdMany smmBusRelTable records → zero or one smmBusRelSalesDistrictGroup record
smmBusRelSegmentGroup→smmBusRelSegmentGroupJoin on
Segment = smmBusRelSegmentGroup.SegmentIdMany smmBusRelTable records → zero or one smmBusRelSegmentGroup record
smmBusRelStatusGroup→smmBusRelStatusGroupJoin on
Status = smmBusRelStatusGroup.StatusIdMany smmBusRelTable records → zero or one smmBusRelStatusGroup record
smmBusRelSubSegmentGroup→smmBusRelSubSegmentGroupJoin on
Segment = smmBusRelSubSegmentGroup.SegmentId,Subsegment = smmBusRelSubSegmentGroup.SubsegmentIdMany smmBusRelTable records → zero or one smmBusRelSubSegmentGroup record
smmBusRelTypeGroup→smmBusRelTypeGroupJoin on
BusRelTypeId = smmBusRelTypeGroup.TypeIdMany smmBusRelTable records → exactly one smmBusRelTypeGroup record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany smmBusRelTable records → zero or one TaxGroupHeading record
VendGroup→VendGroupJoin on
VendGroup = VendGroup.VendGroupMany smmBusRelTable records → zero or one VendGroup record
VendTable→VendTableJoin on
Party = VendTable.PartyZero or one smmBusRelTable record → zero or one VendTable record
WorkCalendarTable→WorkCalendarTableJoin on
SalesCalendarId = WorkCalendarTable.CalendarIdMany smmBusRelTable records → zero or one WorkCalendarTable record
DocuRef→DocuRefJoin on
Party = DocuRef.PartyZero or one smmBusRelTable record → zero or one DocuRef record
Get this data out
Tables are not exposed directly. These public entities read from smmBusRelTable; use one of them in Power BI, Power Platform or a data management project.
smmProspectD365SalesEntity· 12 fields from this tablesmmProspectEntity· 32 fields from this tableDimAttributeSmmBusRelTableEntity· 1 field from this tablesmmContactPersonCDSV2Entity· 0 fields from this table
Need help with smmBusRelTable in a report, an integration or a migration? Talk to Dr Dynamics.