|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > Revisions > ValidateNotNullFieldsBeforeApprove |
available from build: 20120124 |
This command checks for any NULL field declared in the "Options→Data Input→Not null fields→Not null fields on Revision Approval" list.
call DBWShell("ValidateNotNullFieldsBeforeApprove [uid]")
uid |
Optional. The unique id of the document to check null fields against |
@OKVALIDATE |
0: if the validation has failed |
DBWShell("ValidateNotNullFieldsBeforeApprove")
if (okDBW = False) Then
DBWMsgBox "Invalid call"
exit Sub
End if
res = DBWResult("@OKVALIDATE")
DBWMsgBox "res=" & res