CatalogObject.<Catalog name>.Lock

Syntax:

Lock()

Description:

Locks an object, preventing it from being changed by other modes or users.

Availability:

Server, thick client, external connection.

Example:

Try
    Object.Lock();
Except
    DoMessageBox("Can't lock the object """ + Object + """!
                   |"
 + ErrorDescription(), 60);
EndTry;


    

1C:Enterprise Developer's Community