ChartOfCharacteristicTypesObject.<Chart of characteristic types 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 an object has the default presentation of 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.

<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:

Is called when an object is filled based on a specific value. Is called when the Fill method is executed, in Enter Based On mode or during interactive input of the new one.
This procedure must fill the object attributes based on the passed value.

Note:

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

    

1C:Enterprise Developer's Community