ChartOfAccountsObject.<Chart of accounts name>.IsLocked

Syntax:

IsLocked()

Returned value:

Type: Boolean.
True indicates the item is locked; otherwise it is False.

Description:

Indicates whether item is locked by given object.

Availability:

Server, thick client, external connection.

Note:

Note that this method is used to check if a database object is locked by a certain object of script. It cannot be used to check if a database object is locked at all (for example, by other users).

Example:

If Object.IsLocked() Then
    Object.Unlock();
EndIf
;


    

1C:Enterprise Developer's Community