EditRevisionRecord

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > DataForm >

EditRevisionRecord

Description

Displays the Revision Data Input Form in editing mode.

Syntax

call DBWShell("EditRevisionRecord [doc_uid] [fieldNameToBeDisplayed] [noInput]")

Parameters

doc_uid

Optional. the unique id of the document to edit data of

fieldNameToBeDisplayed

Optional. name of a REVISIONS table field. The first tab in the Edit Revision mask that contains such field will be shown as front tab when editing

noInput

Optional.
0: the input dialog is shown
1: no input dialog is shown

Remarks

If the optional parameter doc_uid is not assigned, it is edited the revision record of the currently selected document in the browser.

See also

EditRecord command

Example

DBWShell ("EditRevisionRecord 145")

Example2

call DBWShell ("EditRevisionRecord 45 APPROVAL_DATE")

the Edit mask is displayed already set to tab "Creation/Modification" tab (rather than the ID tab) because the field APPROVAL_DATE is contained in such tab.

editRevisionRecord