ADDOPPORTUNITIESPROCESS
Contains parameter information for the Add Opportunities business process.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| 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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
| OPPORTUNITYSTATUSCODE |
tinyint |
|
Default = 0 |
0=Unqualified, 1=Qualified, 2=Response pending |
| OPPORTUNITYSTATUS |
nvarchar(16) (Computed) |
yes |
CASE [OPPORTUNITYSTATUSCODE] WHEN 0 THEN N'Unqualified' WHEN 1 THEN N'Qualified' WHEN 2 THEN N'Response pending' END |
Provides a translation for the 'OPPORTUNITYSTATUSCODE' field. |
| ASKAMOUNT |
money |
|
Default = 0 |
|
| EXPECTEDASKDATE |
datetime |
yes |
|
|
| ASKDATE |
datetime |
yes |
|
|
| RESPONSEDATE |
datetime |
yes |
|
|
| COMMENT |
nvarchar(max) |
|
Default = '' |
|
Foreign Keys
| 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 |
yes |
OPPORTUNITYTYPECODE.ID
|
FK to OPPORTUNITYTYPECODE |
| TRANSACTIONCURRENCYID |
uniqueidentifier |
yes |
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 |
yes |
LIKELIHOODTYPECODE.ID
|
FK to LIKELIHOODTYPECODE |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_ADDOPPORTUNITIESPROCESS_DATEADDED |
DATEADDED |
|
|
yes |
| IX_ADDOPPORTUNITIESPROCESS_DATECHANGED |
DATECHANGED |
|
|
|
| PK_ADDOPPORTUNITIESPROCESS |
ID |
yes |
yes |
|
| UC_ADDOPPORTUNITIESPROCESS_NAME |
NAME |
yes |
|
|
Triggers
Referenced by