Project class
From Catglobe Wiki
More actions
Project
Represents a Project resource.
Parent class
Inherits from Array
Constructors
- (int Project unique id "Project resource id") - Get an existing project by resource id
- (string Project name "Name of the new project", int Project template unique id "Resource id of the project resource template", int Parent resource unique id "Resource id of the parent resource") - Create a new project
Methods
- Empty Save() - Save this project to the database, creating or updating the underlying project resource
- string ToString() - The string representation of the object.
- object this[] { get; }(int index "Index") - Backward-compatible indexer
- Empty this[] { get; }(int index "Index", object value "Value to set") - Backward-compatible indexer
Properties
- DateTime ActualEndDate { get; set; } - Actual end date
- DateTime ActualStartDate { get; set; } - Actual start date
- number Average { get; } - Average of the objects in the Array object. Can only use if all the elements are of type Number
- bool CalculatedManHours { get; set; } - Whether man-hours are calculated automatically
- string ClientRefNo { get; set; } - Client reference number
- string Code { get; set; } - Project code
- bool Completed { get; set; } - Whether the project is completed
- number Max { get; } - Largest of all the objects in the Array object. Can only use if all the elements are of type Number
- number Min { get; } - Smallest of all the objects in the Array object. Can only use if all the elements are of type Number
- string Name { get; set; } - Name of the project
- string ObjectTypeName { get; } - The name of the type of object.
- int ParentResourceId { get; set; } - Resource id of the parent resource
- DateTime PlannedEndDate { get; set; } - Planned end date
- DateTime PlannedStartDate { get; set; } - Planned start date
- int ProposeCode { get; } - Proposed project code number
- int ResourceId { get; } - Resource id of the project
- number Sum { get; } - Sum of all the objects in the Array object. Can only use if all the elements are of type Number
- int TemplateResourceId { get; } - Resource id of the project template
- int TimeBudget { get; set; } - Man-hours budget
- bool TimeRegistration { get; set; } - Whether time registration is enabled
- TypeInformation TypeInformation { get; } - Get information about this class.
Static Methods
- Project Project_getProjectByCode(string Project code "Project code") - Get the existed project array object by using project code.
- Project Project_getProjectByName(string Project qualified name "Project qualified name") - Get the existed project array object by using project name.
- Project Project_getProjectByResourceId(int Project unique id "Project unique id") - Get the existed project array object by using project unique id.