Task

Return to Introduction  Previous page  Next page

public Class

A Task is an entry in the System ToDo list.  Accessed using the Repository Tasks collection.

Associated table in .EAP file: t_tasks

Task Attributes

Attribute

Type

Notes

TaskID

Long

Read only. Local ID of task.

Name

Variant

Read/Write. Task name.

Notes

Variant

Read/Write. Description of the task.

Priority

String

Read/Write. Priority associated with this task.

Status

Variant

Read/Write. Current task status.

Owner

String

Read/Write. The task owner.

StartDate

Date

Read/Write. Date task is to start.

EndDate

Date

Read/Write. Date task scheduled to finish.

Phase

String

Read/Write. The phase of the project the task relates to.

History

String

Read/Write. Memo field to hold, for example, task history or notes.

Percent

Long

Read/Write. Percent the task is complete.

TotalTime

Long

Read/Write. The total expected time the task might run - in hours, days or some other unit.

ActualTime

Long

Read/Write. Time already expended on task, in hours, days or other units.

AssignedTo

String

Read/Write. Person this task is assigned to; ie. the responsible resource.

Type

String

Read/Write. Sets or returns string representing the type.

ObjectType

ObjectType

Read only. Distinguishes objects referenced through a Dispatch interface.

Task Methods

Method

Type

Notes

Update () 

Boolean 

Update the current Task object after modification or appending a new item. If false is returned, check the GetLastError function for more information.

GetLastError () 

String

Returns a string value describing the most recent error that occurred in relation to this object.

This function is rarely used since an exception is thrown when an error occurs.