on 2016 Apr 22 9:53 AM
Hi Gianno,
Ween you are writing script for particular document type(Like here Supplier Registration)
Use directly IBean as doc--works on Document label
Sample script:
RequiredExtensionField= doc.getExtensionField("XXXXX").get();---XXX should be Extension definition field Name
if(---Vlidate statement----)
{
//Your required logic
}
Thanks
Sonu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sonu,
Thanks for your response,
I'm still have some issue with my script. Attached is the script I wrote and it does the validation, but after I Approved the Supplier and clicking on Save and then Done the system does not want to exit the Supplier record I have to cancel to exit the record.
Please assist.
Regards
Gianno
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.