TaskManager.<Task name>.CreateTask

Syntax:

CreateTask()

Returned value:

Type: TaskObject.

Description:

Creates a new task.

Availability:

Server, thick client, external connection.

Example:

// Create and write new task
NewTask = Tasks.Task.CreateTask();
NewTask.Date = CurrentDate();
// Set other task attributes
NewTask.Write();


    

1C:Enterprise Developer's Community