Table

smmQuotationCompetitors

Competitors

Records which competitors are linked to a quotation or similar record. Each row holds the competitor party, a flag showing whether it won, and a table ID and record ID for the linked record. The table has no defined key.

Table name
smmQuotationCompetitors
Module
Sales and marketing
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
SmmCRM
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyThe competitor, as a party in the global address book.Int64
DirPartyRecId
YesDirPartyTable.RecIdsmmQuotationCompetitorGroup.PartyNone
QuotationWinnerYes or no: whether this competitor won.Enum
smmQuotationWinner
NoYes (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
RefRecIdSystem record ID of the linked record, such as a sales quotation.Int64
RefRecId
YesNone
RefTableIdID of the table that holds the linked record.Integer
RefTableId
YesNone
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 (5)

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

  • DirAddressBookParty → DirAddressBookPartyAllView

    Join on Party = DirAddressBookPartyAllView.Party

    Cardinality not set in the metadata.

  • DirPartyTable_FK → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Many smmQuotationCompetitors records → exactly one DirPartyTable record

  • SalesQuotation → SalesQuotationTable

    Join on RefTableId = SalesQuotationTable.TableId, RefRecId = SalesQuotationTable.RecId

    Many smmQuotationCompetitors records → zero or one SalesQuotationTable record

  • smmOpportunityTable → smmOpportunityTable

    Join on RefTableId = smmOpportunityTable.TableId, RefRecId = smmOpportunityTable.RecId

    Many smmQuotationCompetitors records → zero or one smmOpportunityTable record

  • smmQuotationCompetitorGroup → smmQuotationCompetitorGroup

    Join on Party = smmQuotationCompetitorGroup.Party

    Many smmQuotationCompetitors records → exactly one smmQuotationCompetitorGroup record

Get this data out

No public entity reads from smmQuotationCompetitors. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk