Table
smmBusRelSectorTable
Prospect sector table
Links a party, such as a prospect, customer or vendor, to a business classification. The key is a generated key ID. It points to the business classification table and the global address book.
- Table name
smmBusRelSectorTable- Module
Sales and marketing- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
SmmCRM- Primary index
KeyIdx- Replacement key
KeyIdx- Key fields
KeyId- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
KeyIdUnique key value for this sector row. | StringsmmKeyId | Yes | None | |
BusinessSectorIdCode of the business classification assigned to the party. | String (20)smmBusinessSectorId | Yes | smmBusSectorGroup.BusinessSectorId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
MCRFromMergedPartyIDRecord ID of a party in the global address book. The name suggests a merged party, but this is not stated.low confidence | Int64DirPartyRecId | No | DirPartyTable.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartyRecord ID of the party (name) that has this classification. | Int64DirPartyRecId | Yes | CustTable.PartyDirPartyTable.RecIdVendTable.PartysmmBusRelTable.Party | 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 | |
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 (2)
PartyIdSectorIdxNot unique.
KeyIdxPrimary indexReplacement keyUnique, alternate key.
Relations (7)
Each relation joins smmBusRelSectorTable to another table on the fields shown.
CustTable→CustTableJoin on
Party = CustTable.PartyMany smmBusRelSectorTable records → exactly one CustTable record
DirPartyTable→DirPartyTableJoin on
MCRFromMergedPartyID = DirPartyTable.RecIdMany smmBusRelSectorTable records → exactly one DirPartyTable record
DirPartyTable_FK→DirPartyTableJoin on
Party = DirPartyTable.RecIdMany smmBusRelSectorTable records → exactly one DirPartyTable record
KeyId→smmBusRelSectorTableJoin on
KeyId = smmBusRelSectorTable.KeyIdCardinality not set in the metadata.
smmBusRelTable→smmBusRelTableJoin on
Party = smmBusRelTable.PartyMany smmBusRelSectorTable records → exactly one smmBusRelTable record
smmBusSectorGroup→smmBusSectorGroupJoin on
BusinessSectorId = smmBusSectorGroup.BusinessSectorIdMany smmBusRelSectorTable records → exactly one smmBusSectorGroup record
VendTable→VendTableJoin on
Party = VendTable.PartyMany smmBusRelSectorTable records → exactly one VendTable record
Get this data out
No public entity reads from smmBusRelSectorTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with smmBusRelSectorTable in a report, an integration or a migration? Talk to Dr Dynamics.