Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(100)   Default = '' The name of the parameter set.
 DESCRIPTION nvarchar(255)   Default = '' The description of the parameter set.
 EXPECTEDASKAMOUNT money   Default = 0
 DATEADDED datetime   Default = getdate() Indicates the date this record was added.
 DATECHANGED datetime   Default = getdate() Indicates the date this record was last changed.
 TS timestamp   Timestamp.
 TSLONG bigint (Computed) CONVERT(bigint, TS) Numeric representation of the timestamp.
 OPPORTUNITYSTATUSCODE tinyint   Default = 0 0=Unqualified, 1=Qualified
 OPPORTUNITYSTATUS nvarchar(16) (Computed) CASE [OPPORTUNITYSTATUSCODE] WHEN 0 THEN N'Unqualified' WHEN 1 THEN N'Qualified' WHEN 2 THEN N'Response pending' END
 ASKAMOUNT money   Default = 0
 EXPECTEDASKDATE datetime
 ASKDATE datetime
 RESPONSEDATE datetime
 COMMENT nvarchar(max)   Default = ''

Foreign Key Field Type Null Notes Description
 IDSETREGISTERID uniqueidentifier   IDSETREGISTER.ID Indicates the set of prospect plans that opportunities will be added to.
 OPPORTUNITYTYPECODEID uniqueidentifier OPPORTUNITYTYPECODE.ID FK to OPPORTUNITYTYPECODE
 TRANSACTIONCURRENCYID uniqueidentifier CURRENCY.ID The transaction currency associated with the new opportunity.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 LIKELIHOODTYPECODEID uniqueidentifier LIKELIHOODTYPECODE.ID

Index Name Field(s) Unique Primary Clustered
 IX_ADDOPPORTUNITIESPROCESS_DATEADDED DATEADDED    
 IX_ADDOPPORTUNITIESPROCESS_DATECHANGED DATECHANGED      
 PK_ADDOPPORTUNITIESPROCESS ID  
 UC_ADDOPPORTUNITIESPROCESS_NAME NAME    

Trigger Name Description
 TR_ADDOPPORTUNITIESPROCESS_AUDIT_UPDATE
 TR_ADDOPPORTUNITIESPROCESS_AUDIT_DELETE

Referenced by Field
 ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION ADDOPPORTUNITIESPROCESSID
 ADDOPPORTUNITIESPROCESSSTATUS PARAMETERSETID

Entity-Relationship diagram of this table