ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION
Stores designations to use for opportunities created through the Add Opportunities business process.
Primary Key
Primary Key | Field Type |
---|---|
ID | uniqueidentifier |
Fields
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
AMOUNT | money | Default = 0 | ||
SEQUENCE | int | 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. |
Foreign Keys
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
ADDOPPORTUNITIESPROCESSID | uniqueidentifier | ADDOPPORTUNITIESPROCESS.ID | FK to ADDOPPORTUNITIESPROCESS | |
DESIGNATIONID | uniqueidentifier | yes | DESIGNATION.ID | FK to DESIGNATION |
ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
TRANSACTIONCURRENCYID | uniqueidentifier | yes | CURRENCY.ID | The transaction currency associated with this designation. |
FUNDINGMETHODCODEID | uniqueidentifier | yes | OPPORTUNITYDESIGNATIONFMCODE.ID | FK to OPPORTUNITYDESIGNATIONFMCODE |
CATEGORYCODEID | uniqueidentifier | yes | PLANNEDGIFTDESCATEGORYCODE.ID | FK to PLANNEDGIFTDESCATEGORYCODE |
TYPECODEID | uniqueidentifier | yes | OPPORTUNITYDESIGNATIONTYPECODE.ID | FK to OPPORTUNITYDESIGNATIONTYPECODE |
USECODEID | uniqueidentifier | yes | DESIGNATIONUSECODE.ID | FK to DESIGNATIONUSECODE |
Indexes
Index Name | Fields | Unique | Primary | Clustered |
---|---|---|---|---|
IX_ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION_ADDOPPORTUNITIESPROCESSID | ADDOPPORTUNITIESPROCESSID | |||
IX_ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION_DATEADDED | DATEADDED | yes | ||
IX_ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION_DATECHANGED | DATECHANGED | |||
PK_ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION | ID | yes | yes |
Triggers
Trigger Name | Description |
---|---|
TR_ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION_AUDIT_UPDATE | |
TR_ADDOPPORTUNITIESPROCESSOPPORTUNITYDESIGNATION_AUDIT_DELETE |