CatalogObject.<Catalog name>.OnSetNewCode

Syntax:

OnSetNewCode(<StandardProcessing>, <Prefix>)

Parameters:

<StandardProcessing>

Type: Boolean.
This parameter passes a flag indicating whether standard (system) processing of the event is performed. If the False value parameter is set in the procedure-process body, then standard code generation is not be performed.
Default value: True.

<Prefix>

Type: String.
The prefix that is used to generate the code. Can be changed in the procedure-process's event.

Description:

Occurs when a new code is set for a catalog item code.

Note:

The <Prefix> parameter can be specified, if code is of the String type.

    

1C:Enterprise Developer's Community