Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 STARTDATE datetime Start date of the project.
 ENDDATE datetime End date of the project.
 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.
 TYPE int (Computed)   7 Maps to the type field in the Accounting Element table.

Foreign Key Field Type Null Notes Description
 ID uniqueidentifier   PDACCOUNTSEGMENTVALUE.ID Primary Key.
 PROJECTSTATUSCODEID uniqueidentifier PROJECTSTATUSCODE.ID Status of the project.
 PROJECTTYPECODEID uniqueidentifier PROJECTTYPECODE.ID Type of the project.
 PROJECTLOCATIONCODEID uniqueidentifier PROJECTLOCATIONCODE.ID Location of the project.
 PROJECTDIVISIONCODEID uniqueidentifier PROJECTDIVISIONCODE.ID Division the project is linked to.
 PROJECTDEPARTMENTCODEID uniqueidentifier PROJECTDEPARTMENTCODE.ID Department the project is linked to.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_PROJECT_DATEADDED DATEADDED    
 IX_PROJECT_DATECHANGED DATECHANGED      
 PK_PROJECT ID  

Trigger Name Description
 TR_PROJECT_AUDIT_UPDATE
 TR_PROJECT_AUDIT_DELETE

Referenced by Field
 PROJECTATTACHMENT PROJECTID
 PROJECTMEDIALINK PROJECTID
 PROJECTNOTE PROJECTID

Entity-Relationship diagram of this table