CatalogObject.<Catalog name>.Filling

Syntax:

Filling(<FillingData>, <FillingText>, <StandardProcessing>)

Parameters:

<FillingData>

Type: Arbitrary.
Value that is used as the base for filling.
If the handler was called on the call of Fill method, this parameter is equal to the <FillingData> parameter of the Fill method.
When processing the filling during input based on, the parameter will have the value of the base.
For interactive input of a new one from the list form the parameter is a structure whose elements match the list form filter parameters that have a comparison method of Equal or InList with a single list element. If the list filter has no such items, this parameter has a value of Undefined. If the <StandardProcessing> parameter equals True (the default value) when the handler completes, the system will fill the fields using the structure elements with the same names automatically.

<FillingText>

Type: String; Undefined.
If the default presentation of an object is AsDescription and the attribute Description is included in the list InputByString, the value is assigned to the attribute Description.
If the default presentation is AsCode and the attribute Code is included in the list InputByString while there is no sign Autonumbering, the value is assigned to the attribute Code.
Otherwise no assignment is carried out.
Undefined - for the mobile platform.

<StandardProcessing>

Type: Boolean.
This parameter passes a flag indicating whether standard (system) processing of the event is performed. If it is set to False in the body of the handler procedure, standard processing will not occur. Canceling the standard processing does not cancel the action.
Default value: True.

Description:

Occurs at catalog item input on the basis of and at the execution of the following method: Fill(), during interactive input of the new one. The algorithm of catalog item attributes fill type based on the previous value must be described in this event handler procedure.

Note:

This event handler is not executed during copying (whether interactive or using script).

    

1C:Enterprise Developer's Community