TaskRef.<Task name>.GetObject
Syntax:
Returned value:
Undefined - object is not present in the base (for example, when data exchange is performed or after direct deletion of object, which has references).
Description:
Availability:
Example:
Query = New Query; Query.Text = "SELECT | Ref |FROM | Task.Task | |WHERE | Executed <> True"; Selection = Query.Execute().Choose(); While Selection.Next() Do CurTask = Selection.Ref.GetObject(); // Execute needed actions with the task EndDo; |