Field |
Field Type |
Null |
Notes |
Description |
PROJECTCODE |
nvarchar(100) |
|
Default = '' |
GL project code |
ISACTIVE |
bit |
|
Default = 1 |
Indicates whether or not the designation is active. |
USERID |
nvarchar(512) |
|
Default = '' |
The lookup ID used for searching for this designation. |
VANITYNAME |
nvarchar(512) |
|
Default = '' |
User entered field for a friendly name. |
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. |
ACCOUNTNUMBER |
nvarchar(100) |
|
Default = '' |
GL account number |
STARTDATE |
datetime |
 |
|
Start date associated with this designation |
ENDDATE |
datetime |
 |
|
End date associated with this designation |
ISREVENUEDESIGNATION |
bit |
|
Default = 1 |
Indicates if this designation is accepting revenue. |
NAME |
nvarchar(512) (Computed) |
 |
dbo.UFN_DESIGNATION_BUILDNAME(ID) |
Displays the name of this designation. |
SYSTEMGENERATED |
bit |
|
Default = 0 |
|
Foreign Key |
Field Type |
Null |
Notes |
Description |
DESIGNATIONLEVEL1ID |
uniqueidentifier |
|
DESIGNATIONLEVEL.ID |
The first level of this tree node. |
DESIGNATIONLEVEL2ID |
uniqueidentifier |
 |
DESIGNATIONLEVEL.ID |
The second level of this tree node. |
DESIGNATIONLEVEL3ID |
uniqueidentifier |
 |
DESIGNATIONLEVEL.ID |
The third level of this tree node. |
DESIGNATIONLEVEL4ID |
uniqueidentifier |
 |
DESIGNATIONLEVEL.ID |
The fourth level of this tree node. |
DESIGNATIONLEVEL5ID |
uniqueidentifier |
 |
DESIGNATIONLEVEL.ID |
The fifth level of this tree node. |
DESIGNATIONREPORT1CODEID |
uniqueidentifier |
 |
DESIGNATIONREPORT1CODE.ID |
Code table for first arbitrary designation report code. |
DESIGNATIONREPORT2CODEID |
uniqueidentifier |
 |
DESIGNATIONREPORT2CODE.ID |
Code table for second arbitrary designation report code. |
GLDEPARTMENTID |
uniqueidentifier |
 |
GLDEPARTMENT.ID |
The GL Department for this designation. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID |
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID |
FK to CHANGEAGENT. |
VSECATEGORYID |
uniqueidentifier |
 |
VSECATEGORY.ID |
The VSE category associated with this designation |
DESIGNATIONUSECODEID |
uniqueidentifier |
 |
DESIGNATIONUSECODE.ID |
Code table for the designation use code. |
VSESUBCATEGORYID |
uniqueidentifier |
 |
VSESUBCATEGORY.ID |
The VSE subcategory associated with this designation. |
DESIGNATIONLEVELTYPEHIERARCHYITEMID |
uniqueidentifier |
 |
DESIGNATIONLEVELTYPEHIERARCHYITEM.ID |
The designation level type hierarchy item this designation is based on. |
BASECURRENCYID |
uniqueidentifier |
 |
CURRENCY.ID |
The base currency associated with this designation. |
Index Name |
Field(s) |
Unique |
Primary |
Clustered |
IX_DESIGNATION_BASECURRENCYID |
BASECURRENCYID |
|
|
|
IX_DESIGNATION_DATEADDED |
DATEADDED |
|
|
 |
IX_DESIGNATION_DATECHANGED |
DATECHANGED |
|
|
|
IX_DESIGNATION_DESIGNATIONLEVEL2ID |
DESIGNATIONLEVEL2ID |
|
|
|
IX_DESIGNATION_DESIGNATIONLEVEL3ID |
DESIGNATIONLEVEL3ID |
|
|
|
IX_DESIGNATION_DESIGNATIONLEVEL4ID |
DESIGNATIONLEVEL4ID |
|
|
|
IX_DESIGNATION_DESIGNATIONLEVEL5ID |
DESIGNATIONLEVEL5ID |
|
|
|
IX_DESIGNATION_DESIGNATIONREPORT1CODEID |
DESIGNATIONREPORT1CODEID |
|
|
|
IX_DESIGNATION_DESIGNATIONREPORT2CODEID |
DESIGNATIONREPORT2CODEID |
|
|
|
IX_DESIGNATION_GLDEPARTMENTID |
GLDEPARTMENTID |
|
|
|
IX_DESIGNATION_ID |
ID |
|
|
|
PK_DESIGNATION |
ID |
 |
 |
|
UC_DESIGNATION_USERID |
USERID |
 |
|
|
UIX_DESIGNATION_DESIGNATIONLEVEL1ID_DESIGNATIONLEVEL2ID_DESIGNATIONLEVEL3ID_DESIGNATIONLEVEL4ID_DESIGNATIONLEVEL5ID |
DESIGNATIONLEVEL1ID, DESIGNATIONLEVEL2ID, DESIGNATIONLEVEL3ID, DESIGNATIONLEVEL4ID, DESIGNATIONLEVEL5ID |
 |
|
|