TaskObject.<Task name>.OnSetNewNumber

Syntax:

OnSetNewNumber(<StandardProcessing>, <Prefix>)

Parameters:

<StandardProcessing>

Type: Boolean.
This parameter passes a flag indicating whether standard (system) processing of the event is performed. If in the body of handler procedure a value of this parameter is set to False, standard generation of a new number will not be performed.
Default value: True.

<Prefix>

Type: String.
Prefix that will be used for number generation. Can be changed in the procedure-process's event.

Description:

Occurs when a new number is assigned to the task.

    

1C:Enterprise Developer's Community