Skip to Content
Former Member
Jun 25, 2009 at 10:23 AM

how to check Order type in in function submit_refresh


Hi Experts,

I have a requirment to check P.O. when Update new order, but this validation is only for Order not for Quotation. I know how to do the validation in function submit_refresh() in orderTools.js, but don't know how to check if it's Order only.

Can anyone please provide me the code for checking Order type in function submit_refresh?

Thanks, Jin