Table

RetailSmmBusRelTable

Retail prospect data

Holds extra retail data for prospects. It links to the prospect record, a retail channel and a customer hierarchy. It records B2B approval status, company details and prospect type.

Table name
RetailSmmBusRelTable
Module
Commerce
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
smmBusRelTableIdx
Key fields
smmBusRelTable
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
smmBusRelTableProspect that the retail data belongs to.Int64YessmmBusRelTable.RecIdNone
B2BProspectStatusApproval status of the B2B prospect: pending, approved, rejected or unknown.Enum
RetailB2BProspectStatus (enum)
NosmmProspectEntity
BusinessPartnerIdID of the customer hierarchy linked to the prospect.String (60)
CustHierarchyId
NoCustHierarchy.CustHierarchyIdNone
CompanyNameName of the prospect company.String (160)
DirPartyName
NosmmProspectEntity
CompanySizeNumber of employees in the company.Integer
DirOrganizationNumberOfEmployees
NosmmProspectEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DepartmentName of the department.String (60)
Name
NosmmProspectEntity
IsPromoteProspectYes/No flag whose purpose is not stated; the name suggests the prospect is being promoted.low confidenceEnum
NoYes (enum)
NoNone
JobTitleJob title of the contact.String (30)
PersonTitle
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProspectTypeKind of prospect: none, buyer, or buyer and seller.Enum
RetailProspectType (enum)
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RetailChannelRetail channel linked to the prospect.Int64
RefRecId
NoRetailChannelTable.RecIdsmmProspectEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

Each relation joins RetailSmmBusRelTable to another table on the fields shown.

  • smmBusRelTable → smmBusRelTable

    Join on smmBusRelTable = smmBusRelTable.RecId

    Zero or one RetailSmmBusRelTable record → exactly one smmBusRelTable record

  • RetailChannel → RetailChannelTable

    Join on RetailChannel = RetailChannelTable.RecId

    Many RetailSmmBusRelTable records → exactly one RetailChannelTable record

  • CustHierarchy → CustHierarchy

    Join on BusinessPartnerId = CustHierarchy.CustHierarchyId

    Zero or one RetailSmmBusRelTable record → exactly one CustHierarchy record

Get this data out

Tables are not exposed directly. These public entities read from RetailSmmBusRelTable; use one of them in Power BI, Power Platform or a data management project.

Need help with RetailSmmBusRelTable in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk