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

  • 15 Views
  • Last Post 3 weeks ago
  • Topic Is Solved
Sunil Edupuganti posted this 3 weeks ago

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

 

Ekaterina posted this 3 weeks ago

Hello,

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

Close