DocumentObject.<Document 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 new document number is set.

Note:

Parameter <Prefix> can be specified if Number has type String.

See also:

DocumentObject, method SetNewNumber

    

1C:Enterprise Developer's Community