DocumentObject.<Document 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.
Text used to fill in a document.
If an object has the attribute Number in the list "Input by string" and it does not have enabled sign Autonumbering, the value is assigned to the attribute Number.
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 document input on the basis of the method as well as at the method execution Fill(), in Enter Based On mode or during interactive input of the new one. The algorithm of a document attributes fill type based on the passed value must be described in this event handler procedure.

Note:

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

See also:

DocumentObject, method Fill

    

1C:Enterprise Developer's Community