BusinessProcessObject.<Name of business process>.SetDeletionMark

Syntax:

SetDeletionMark(<DeletionMark>)

Parameters:

<DeletionMark> (required)

Type: Boolean.
Deletion mark set / removal flag.
True indicates the mark is set; False indicates the mark is removed.

Description:

Sets/removes the business process deletion mark. The business process is not deleted from the database immediately. Business processes marked for deletion are removed permanently when you delete the marked objects.

Availability:

Server, thick client, external connection.

Note:

This method triggers the BeforeWrite event because the modified value of the DeletionMark property is saved.
If object is modified, then executing the method returns an exception.

Example:

SelectBP.SetDeletionMark(True);

    

1C:Enterprise Developer's Community