ChartOfCalculationTypesManager.<Chart of calculation types name>.SetPredefinedDataUpdate

Syntax:

SetPredefinedDataUpdate(<PredefinedDataUpdate>)

Parameters:

<PredefinedDataUpdate> (optional)

Type: PredefinedDataUpdate.
Predefined items update mode of the metadata object.
Default value: Automatically.

Description:

It specifies refresh mode for predefined elements in data. The execution requires infobase administrator-level rights.
The actual update mode is defined as follows:
  • If an update mode other than Auto is set for the metadata object in data, then this value is used.
  • Otherwise, if an update mode other than Auto is set for the metadata object in the configuration, then this value is used.
  • Otherwise, if an update mode other than Auto is set for the infobase, then this value is used.
  • Otherwise, if it is a remote node of the distributed infobase, predefined data will not be updated. If a core node of a distributed infobase or an infobase other than a distributed infobase is checked, predefined data will be updated.
The method is only available from the unsplit session.

Availability:

Server, thick client, external connection.
Calling the method executes a server call.

Note:

In the case of the Version8_3_2 compatibility mode, the method is available regardless of the separator availability in the session.
In the case of the Version8_3_3 compatibility mode the need for updating is determined as follows:
  • Data will not be updated:
    • if the DontAutoUpdate value is set in metadata or in data;
    • If the Auto value is set in metadata or in data and the current mode is a remote one.
  • Otherwise predefined data will be updated and/or generated when data are first called.

    

1C:Enterprise Developer's Community