ChartOfCharacteristicTypesManager.<Chart of characteristic 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.
  • Alternatively, if an update mode other than Auto is set for the metadata object in the configuration, then this value is used.
  • Alternatively, if an update mode other than Auto is set for the infobase, then this value is used.
  • Alternatively, 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 an 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 Version8_3_3 compatibility mode, the need for updating is defined 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.

See also:


    

1C:Enterprise Developer's Community