DocumentObject.<Document name>.SetDeletionMark
Syntax:
Parameters:
<DeletionMark> (required)
Deletion mark set / removal flag.
True indicates the mark is set; False indicates the mark is removed.
Description:
Availability:
Note:
If object is modified, then executing the method returns an exception.
Example:
If DeletedList.FindByValue(ExpenseBill.Number) Then ExpenseBill.SetDeletionMark(True); EndIf; |