|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Event Scripts > Revision > OnCheckin.LST script file |
It is executed when checking in a document.
Using this script it is possible to control the way a document is checked in, basing on rules that can be implemented in the script itself.
Options→Revisions
@DOCUMENT_UNIQUE_ID |
uid of the doc to checkin |
|---|---|
@IS_LINKED_DOCUMENT |
the currently processed document is 0: the selected/active document; 1: a linked document; |
The script is called only as a notification of the event; it cannot interrupt the checkin process.
To interrupt che checkin process please refer to OnBeforeCheckin.LST script.
OnUnCheckin.LST
OnBeforeCheckin.LST
.VBSCRIPT
Sub Main
DBWInit(TRUE)
uid = DBWInput("@DOCUMENT_UNIQUE_ID")
DBWMsgBox "OnCheckin uid=" & uid
End Sub