Projects.Classic.ProjectTasks Entity
Namespace: Projects.Classic
Represents one task of a project. Entity: Prj_Project_Tasks
Default Visualization
Default Display Text Format:
{TaskName}
Default Search Members:
TaskName
Name Data Member:
TaskName
Category: Definitions
Show in UI: ShownByDefault
Track Changes
Min level: 0 - Do not track changes
Max level: 4 - Track object attribute and blob changes
Aggregate
An aggregate is a cluster of domain objects that can be treated as a single unit.
Aggregate Tree
Attributes
Name | Type | Description |
---|---|---|
BudgetLaborAmount | Amount (12, 2) nullable | Budgeted amount for the labor for the task in the currency of the project. The material is calculated separately. null means that budgeting for the item is not calculated. Currency: Project.BudgetingCurrency |
DisplayText | string | Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object. |
FinishDateTime | datetime | The date and time when the task is planned to finish. Required Default(Now) Filter(eq;ge;le) |
Id | guid | |
Notes | string (max) nullable | Notes for this ProjectTask. |
ObjectVersion | int32 | The latest version of the extensible data object for the aggregate root for the time the object is loaded from the database. Can be used for optimistic locking. |
PlannedDurationHours | decimal (8, 2) | Planned duration of the task in hours. The hours are allocated in the time interval between Start Date Time and Finish Date Time. Required Default(0) |
ProjectTaskNo | int32 | Consecutive task number, unique within the project. Required |
StartDateTime | datetime | The date and time when the task is planned to start. Required Default(Now) Filter(eq;ge;le) |
TaskName | string (254) | The short name of the task. It is best practice to contain the target of the task. Required Filter(multi eq;like) |
References
Name | Type | Description |
---|---|---|
Activity | Activities (nullable) | The Id of the Cm_Activity created for this task. null means that activity is still not created. Filter(multi eq) |
Project | Projects | The project, to which this task belongs. Required Filter(multi eq) |
ProjectWorkElement | ProjectWorkElements | The work element under which the task is filed. Required Filter(multi eq) |
Resource | Resources (nullable) | The resource, which is required for the task. null means - do not plan any resource. Filter(multi eq) |
ResponsibleParty | Parties (nullable) | The responsible party. Usually a person and usually one of the project participants. null means that responsible is not yet determined. Filter(multi eq) |
TaskType | TaskTypes | The type of the task. Determines the work type of the tasks, default billing rules, etc. Required Filter(multi eq) |
WorkType | TypeWorkTypes (nullable) | Type of work to be done. null means that type of work is undetermined yet. Filter(multi eq) |
Child Collections
Name | Type | Description |
---|---|---|
Dependancies | ProjectTaskDependancies | List of ProjectTaskDependancy (Projects.Classic.ProjectTaskDependancies.md) child objects, based on the Projects.Classic.ProjectTaskDependancy.ProjectTask (Projects.Classic.ProjectTaskDependancies.md#projecttask) back reference |
Materials | ProjectTaskMaterials | List of ProjectTaskMaterial (Projects.Classic.ProjectTaskMaterials.md) child objects, based on the Projects.Classic.ProjectTaskMaterial.ProjectTask (Projects.Classic.ProjectTaskMaterials.md#projecttask) back reference |
Participants | ProjectTaskParticipants | List of ProjectTaskParticipant (Projects.Classic.ProjectTaskParticipants.md) child objects, based on the Projects.Classic.ProjectTaskParticipant.ProjectTask (Projects.Classic.ProjectTaskParticipants.md#projecttask) back reference |
Resources | ProjectTaskResources | List of ProjectTaskResource (Projects.Classic.ProjectTaskResources.md) child objects, based on the Projects.Classic.ProjectTaskResource.ProjectTask (Projects.Classic.ProjectTaskResources.md#projecttask) back reference |
Attribute Details
BudgetLaborAmount
Budgeted amount for the labor for the task in the currency of the project. The material is calculated separately. null means that budgeting for the item is not calculated. Currency: Project.BudgetingCurrency
Type: Amount (12, 2) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: CannotBeShown
Front-End Recalc Expressions:
IIF( ( ( obj.PlannedDurationHours != 0) AndAlso ( obj.WorkType != null)), obj.CalculateBudgetLaborAmount( ), new Amount( 0, obj.Project.BudgetingCurrency))
DisplayText
Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object.
Type: string
Category: Calculated Attributes
Supported Filters: NotFilterable
Supports Order By: ****
Show in UI: HiddenByDefault
FinishDateTime
The date and time when the task is planned to finish. Required
Default(Now)
Filter(eq;ge;le)
Type: datetime
Category: System
Supported Filters: Equals, GreaterThanOrLessThan
Supports Order By: False
Default Value: CurrentDateTime
Show in UI: ShownByDefault
Id
Type: guid
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Default Value: NewGuid
Show in UI: CannotBeShown
Notes
Notes for this ProjectTask.
Type: string (max) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Maximum Length: 2147483647
Show in UI: ShownByDefault
ObjectVersion
The latest version of the extensible data object for the aggregate root for the time the object is loaded from the database. Can be used for optimistic locking.
Type: int32
Category: Extensible Data Object
Supported Filters: NotFilterable
Supports Order By: ****
Show in UI: HiddenByDefault
PlannedDurationHours
Planned duration of the task in hours. The hours are allocated in the time interval between Start Date Time and Finish Date Time. Required
Default(0)
Type: decimal (8, 2)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: 0
Show in UI: ShownByDefault
ProjectTaskNo
Consecutive task number, unique within the project. Required
Type: int32
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: ShownByDefault
StartDateTime
The date and time when the task is planned to start. Required
Default(Now)
Filter(eq;ge;le)
Type: datetime
Category: System
Supported Filters: Equals, GreaterThanOrLessThan
Supports Order By: False
Default Value: CurrentDateTime
Show in UI: ShownByDefault
TaskName
The short name of the task. It is best practice to contain the target of the task. Required
Filter(multi eq;like)
Type: string (254)
Category: System
Supported Filters: Equals, Like, EqualsIn
Supports Order By: False
Maximum Length: 254
Show in UI: ShownByDefault
Reference Details
Activity
The Id of the Cm_Activity created for this task. null means that activity is still not created. Filter(multi eq)
Type: Activities (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: CannotBeShown
Project
The project, to which this task belongs. Required
Filter(multi eq)
Type: Projects
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
ProjectWorkElement
The work element under which the task is filed. Required
Filter(multi eq)
Type: ProjectWorkElements
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
Resource
The resource, which is required for the task. null means - do not plan any resource. Filter(multi eq)
Type: Resources (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: CannotBeShown
ResponsibleParty
The responsible party. Usually a person and usually one of the project participants. null means that responsible is not yet determined. Filter(multi eq)
Type: Parties (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
TaskType
The type of the task. Determines the work type of the tasks, default billing rules, etc. Required
Filter(multi eq)
Type: TaskTypes
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
WorkType
Type of work to be done. null means that type of work is undetermined yet. Filter(multi eq)
Type: TypeWorkTypes (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: CannotBeShown
API Methods
Methods that can be invoked in public APIs.
GetAllowedCustomPropertyValues
Gets the allowed values for the specified custom property for this entity object. If supported the result is ordered by property value. Some property value sources do not support ordering - in that case the result is not ordered.
Return Type: Collection Of CustomPropertyValue
Declaring Type: EntityObject
Domain API Request: GET
Parameters
customPropertyCode
The code of the custom property
Type: stringsearch
The search text - searches by value or description. Can contain wildcard character %.
Type: string
Optional: True
Default Value: nullexactMatch
If true the search text should be equal to the property value
Type: boolean
Optional: True
Default Value: FalseorderByDescription
If true the result is ordered by Description instead of Value. Note that ordering is not always possible.
Type: boolean
Optional: True
Default Value: Falsetop
The top clause - default is 10
Type: int32
Optional: True
Default Value: 10skip
The skip clause - default is 0
Type: int32
Optional: True
Default Value: 0
CreateNotification
Create a notification immediately in a separate transaction, and send a real-time event to the user.
Return Type: void
Declaring Type: EntityObject
Domain API Request: POST
Parameters
user
The user.
Type: UsersnotificationClass
The notification class.
Type: stringsubject
The notification subject.
Type: string
CreateCopy
Duplicates the object and its child objects belonging to the same aggregate. The duplicated objects are not saved to the data source but remain in the same transaction as the original object.
Return Type: EntityObject
Declaring Type: EntityObject
Domain API Request: POST
Business Rules
None
Front-End Business Rules
API
Domain API Query: https://demodb.my.erp.net/api/domain/odata/Projects_Classic_ProjectTasks?$top=10
Domain API Query Builder: https://demodb.my.erp.net/api/domain/querybuilder#Projects_Classic_ProjectTasks?$top=10