Accruent Meridian Enterprise 2020 VBScript API Reference

DocGenericEvent_PrepareCommand Event

Occurs after a user selects a document command on the shortcut menu to act upon the selected document.

Syntax

DocGenericEvent_PrepareCommand(Batch, CmdID)
Parameters
Name Description

Batch

An object that represents the current batch of documents.

CmdID

A string that identifies the internal name of the command. For the identifiers that may be used, see Meridian Enterprise Command Identifiers.

Remarks

Not available in Meridian PowerWeb. This event is intended to be used to set the Batch.ProcessAsBatch property to True before programmatically adding documents with the Batch.AddDocuments method to a batch in a custom command's Initialize event.