BusinessProcessObject.<Name of business process>.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
    BusinessProcess.Lock();
Except
    DoMessageBox("Can't lock the business process.");
EndTry;


    

1C:Enterprise Developer's Community