LIFECYCLETYPE
Stores life cycle type information
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(500) |
|
Default = '' |
Name of the lifecycle type. |
IMPORTANCE |
int |
|
Default = 0 |
Used to rank lifecycle types within a given group. The larger the number the more important the lifecycle type. |
LIFECYCLEGROUPCODE |
tinyint |
|
Default = 0 |
Used to group lifecycle types together. |
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. |
LIFECYCLEGROUP |
nvarchar(15) (Computed) |
yes |
CASE [LIFECYCLEGROUPCODE] WHEN 0 THEN N'Donor Lifecycle' END |
Provides a translation for the 'LIFECYCLEGROUPCODE' field. |
INSTALLEDPRODUCTLIST |
xml |
yes |
|
Contains the list of product flags required by the lifecycle type value. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_LIFECYCLETYPE_DATEADDED |
DATEADDED |
|
|
yes |
IX_LIFECYCLETYPE_DATECHANGED |
DATECHANGED |
|
|
|
PK_LIFECYCLETYPE |
ID |
yes |
yes |
|
UIX_LIFECYCLETYPE_NAME_LIFECYCLEGROUPCODE |
NAME, LIFECYCLEGROUPCODE |
yes |
|
|
Triggers
Referenced by