DocumentObject.<Document name>.OnSetNewNumber


OnSetNewNumber(<StandardProcessing>, <Prefix>)



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.


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


Occurs when new document number is set.


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

See also:

DocumentObject, method SetNewNumber


1C:Enterprise Developer's Community