Custom Query Javascript. importPackage Not found
Hi Experts,
I am trying to follow below example in an effort to convert JAVA classes of SP03 into javascript:
How to Handle Filters in Soap Operations
However, when I try accessing below URL from browser:
In server logs I get below error:
com.sun.phobos.script.util.ExtendedScriptException: org.mozilla.javascript.EcmaError: ReferenceError: "FILTER" is not defined. (/CustomQueryTest/src/main/resources/script/MedCareSuppliersSet_SOAP_Query.js#77
I am attaching MedCareSuppliersSet_SOAP_Query.js file for reference. I am using SMP3 SP07.
Any idea why required package is not found although I am importing it.
Regards,
Affaan
Tags edited by: Jitendra Kansal (Moderator)
Tags:
Former Member replied
Hi,
We have fixed this issue. I am attaching the JS file in case someone else faces same issue. Still would request to author of How to Handle Filters in Soap Operations to please comment on our fix and why the one mentioned in the blog was not working.
Best Regards,
Affaan