CatalogManager.<Catalog 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. To execute, you need infobase administrator-level rights.
The actual update mode is defined as follows:
  • If an update mode other than Auto is set for a metadata object in data, then this value is used.
  • Alternatively, if an update mode other than Auto is set for a metadata object in the configuration, then this value is used.
  • Alternatively, if an update mode other than Auto is set for an infobase, then this value is used.
  • Alternatively, if it is a remote node of a 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, Mobile application (server).
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 data,
    • if the Auto value is set in metadata or data and the current node is remote.
  • Otherwise, predefined data will be updated and/or created when data are first called.

    

1C:Enterprise Developer's Community