BlueCielo Meridian Enterprise 2012 Developer's Guide | BlueCielo ECM Solutions

BeforeCancelDocument event

This event occurs when the user selects to discard a document from a work area.

Syntax
Private Sub AMUIExtension_BeforeCancelDocument(
          ByVal WP As AMEDM.IAMWorkPackage,
          ByVal Document As AMDocument,
          ReAssign As Boolean,
          Abort As Boolean)
Parameters
Name Description

WP

The work area from which the document will be canceled.

Document

The document that will be canceled.

ReAssign

This argument is True if the user selected to reassign the document after discarding the changes made since it was last assigned. See Remarks.

Abort

Setting this argument to True will abort the operation. The AfterCancelDocument event will not occur.

Remarks

If ReAssign is True, the server will implicitly reassign the document to the work area. There will be no separate event for assigning the document.

See About events that occur for both documents and work areas.

Copyright © 2000-2012 BlueCielo ECM Solutions