ExchangePlanObject.<Exchange plan name>.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 deletion check. The object isn't deleted from the database. Final deletion of marked nodes is executed when marked objects are deleted.

Availability:

Server, thick client, external connection, Mobile application (server).

Note:

Applying the method results in the BeforeWrite event launching, as the DeletionMark modified property is saved.
If object is modified, then executing the method returns an exception.

    

1C:Enterprise Developer's Community