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 descriptionType / EDT / enumMandatoryReferencesIn public entities
KeyIdUnique key value for this sector row.String
smmKeyId
YesNone
BusinessSectorIdCode of the business classification assigned to the party.String (20)
smmBusinessSectorId
YessmmBusSectorGroup.BusinessSectorIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
MCRFromMergedPartyIDRecord ID of a party in the global address book. The name suggests a merged party, but this is not stated.low confidenceInt64
DirPartyRecId
NoDirPartyTable.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyRecord ID of the party (name) that has this classification.Int64
DirPartyRecId
YesCustTable.PartyDirPartyTable.RecIdVendTable.PartysmmBusRelTable.PartyNone
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
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 (2)

Relations (7)

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

  • CustTable → CustTable

    Join on Party = CustTable.Party

    Many smmBusRelSectorTable records → exactly one CustTable record

  • DirPartyTable → DirPartyTable

    Join on MCRFromMergedPartyID = DirPartyTable.RecId

    Many smmBusRelSectorTable records → exactly one DirPartyTable record

  • DirPartyTable_FK → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Many smmBusRelSectorTable records → exactly one DirPartyTable record

  • KeyId → smmBusRelSectorTable

    Join on KeyId = smmBusRelSectorTable.KeyId

    Cardinality not set in the metadata.

  • smmBusRelTable → smmBusRelTable

    Join on Party = smmBusRelTable.Party

    Many smmBusRelSectorTable records → exactly one smmBusRelTable record

  • smmBusSectorGroup → smmBusSectorGroup

    Join on BusinessSectorId = smmBusSectorGroup.BusinessSectorId

    Many smmBusRelSectorTable records → exactly one smmBusSectorGroup record

  • VendTable → VendTable

    Join on Party = VendTable.Party

    Many 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.

Email sales@drdynamics.co.uk