OnUnCheckout.LST script file

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Event Scripts > Revision >

OnUnCheckout.LST script file

Description

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.

Activation

Options→Revisions

Input

@DOCUMENT_UNIQUE_ID

uid of the doc to uncheckout

@IS_POST_EVENT

0: pre-event
1: post-event

Output

@ONUNCHECKOUT

0: fail
1: ok to proceede

Remarks

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.

See also

OnCheckout.LST script file

OnCheckoutRecord.LST script file OnUnCheckoutRecord.LST script file