Community

How to keep "PONumber" field as a Mandatory field in Verification Station? Answered

HI,

I want to keep the "PONumber" field as a Mandatory field in Verification Station. I have written the script in

"Project Properties>>Stage Tools>>Verification>>Add Event>>On Closing Document". Below is the script:

if(DocumentEditor.Document.Field("Invoice Layout\\PurchaseOrder\\OrderNumber").Text=="")

{

CanClose.Value=false;

}

But the above Script doesn't works. It is throwing an error ("No field with name "Invoice Layout\PurchaseOrder\OrderNumber").

 

How to keep this PONumber as a Mandatory field in Verification Station?? Please help me

Thanks in advance

 

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Permanently deleted user

    Hello,

    Please use this string as Full Field Name: "Invoice Layout\PurchaseOrder[0]\OrderNumber".

    0

Please sign in to leave a comment.