DocumentObject.<Document name>.Delete
Syntax:
Description:
Important: Unlike SetDeletionMark, this method immediately deletes the document permanently without checking referential integrity. This method is to be used with great awareness.
Availability:
Example:
QuestionText = "Delete the document leaving no chance to restore?"; Answer = DoQueryBox(QuestionText, QuestionDialogMode.YesNo); If Answer = DialogReturnCode.Yes Then ExpenseBill.Delete(); EndIf; |