ManagedForm.SetFormFunctionalOptionParameters

Syntax:

SetFormFunctionalOptionParameters(<ParametersToBeSpecified>, <ParametersToBeReset>)

Parameters:

<ParametersToBeSpecified> (required)

Type: Structure.
Parameter values. The structure element key specifies a parameter name that should match one of the FunctionalOptionsParameter type metadata object names. The structure element value should contain a parameter value.

<ParametersToBeReset> (optional)

Type: Array; String.
Functional option parameters to be reset.
Can be set as a string (option names separated by commas ) or an array of strings containing functional option parameter names values of which you want to reset.

Description:

Sets functional option parameters that will affect a form instance. When the method is executed, the form is automatically updated.
The functional option parameters help to determine the selection of functional option values if the option is bound to a catalog attribute or an informational register resource, i.e. when a single object can store several option values.
When a functional option is bound to a periodic information register resource, if the period is not specified in the parameters, the value is selected as a slice of the latter for the current date. If the Period parameter is specified, it is used as a date for which the slice is taken.

Availability:

Thin client, web-client, server, thick client, Mobile application (client), Mobile application (server).
Calling the method executes a server call.

Note:

The parameters can be updated one by one, but the recommended practice is to update a group of parameters with a single call, as this operation is more efficient.

    

1C:Enterprise Developer's Community