BusinessProcessObject.<Name of business process>.Delete

Syntax:

Delete()

Description:

Deletes a business process from the database.
Important: Unl SetDeletionMark method, this method directly carries out permanent deletion of a business process without checking referential integrity. This method is to be used with great awareness.

Availability:

Server, thick client, external connection.

Example:

QuestionText = "Do you want to delete a business process leaving no chance to restore?";
Answer = DoQueryBox(QuestionText, QuestionDialogMode.YesNo);
If 
Answer = DialogReturnCode.Yes Then
    BusinessProcess.Delete();
EndIf
;


    

1C:Enterprise Developer's Community