BusinessProcessObject.<Name of business process>.IsLocked

Syntax:

IsLocked()

Returned value:

Type: Boolean.
True - business process is locked; False - otherwise.

Description:

Indicates whether the business process is locked by the 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 whether a database object is locked in general.

Example:

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


    

1C:Enterprise Developer's Community