|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Event Scripts > Revision > OnUnCheckout.LST script file |
it is executed when un-checking out a document.
Using this script it is possible to control the way a document is unchecked out, basing on rules that can be implemented in the script itself.
Options→Revisions
@DOCUMENT_UNIQUE_ID |
uid of the doc to uncheckout |
|---|---|
@IS_POST_EVENT |
0: pre-event |
@ONUNCHECKOUT |
0: fail |
The action flow of scripts related to UnCheckout action is:
0.OnUnCheckout.LST PRE event: as soon as the UnCheckout action has been invoked; nothing has been done yet.
1.OnUnCheckoutRecord.LST: the PDM is updating the database record
2.OnUnCheckout.LST POST event: every action has been finished, also physical file has been uncheckedout.
OnCheckout.LST script file
OnCheckoutRecord.LST script file OnUnCheckoutRecord.LST script file