BusinessProcessObject.<Name of business process>.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 business process number is set.

Note:

<Prefix> can be specified if Number is of String type.

See also:

BusinessProcessObject, method SetNewNumber

    

1C:Enterprise Developer's Community