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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
smmBusRelTableProspect that the retail data belongs to. | Int64 | Yes | smmBusRelTable.RecId | None |
B2BProspectStatusApproval status of the B2B prospect: pending, approved, rejected or unknown. | EnumRetailB2BProspectStatus (enum) | No | smmProspectEntity | |
BusinessPartnerIdID of the customer hierarchy linked to the prospect. | String (60)CustHierarchyId | No | CustHierarchy.CustHierarchyId | None |
CompanyNameName of the prospect company. | String (160)DirPartyName | No | smmProspectEntity | |
CompanySizeNumber of employees in the company. | IntegerDirOrganizationNumberOfEmployees | No | smmProspectEntity | |
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 | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DepartmentName of the department. | String (60)Name | No | smmProspectEntity | |
IsPromoteProspectYes/No flag whose purpose is not stated; the name suggests the prospect is being promoted.low confidence | EnumNoYes (enum) | No | None | |
JobTitleJob title of the contact. | String (30)PersonTitle | No | None | |
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 | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProspectTypeKind of prospect: none, buyer, or buyer and seller. | EnumRetailProspectType (enum) | No | None | |
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 | |
RetailChannelRetail channel linked to the prospect. | Int64RefRecId | No | RetailChannelTable.RecId | 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 |
Indexes (1)
smmBusRelTableIdxReplacement keyUnique, alternate key.
Relations (3)
Each relation joins RetailSmmBusRelTable to another table on the fields shown.
smmBusRelTable→smmBusRelTableJoin on
smmBusRelTable = smmBusRelTable.RecIdZero or one RetailSmmBusRelTable record → exactly one smmBusRelTable record
RetailChannel→RetailChannelTableJoin on
RetailChannel = RetailChannelTable.RecIdMany RetailSmmBusRelTable records → exactly one RetailChannelTable record
CustHierarchy→CustHierarchyJoin on
BusinessPartnerId = CustHierarchy.CustHierarchyIdZero 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.
smmProspectEntity· 5 fields from this table
Need help with RetailSmmBusRelTable in a report, an integration or a migration? Talk to Dr Dynamics.