About the JavaScript Migration Tool
The JavaScript migration tool, async2sync.pyc, is located in the following custom folder:
AI_INSTALL\applicationcontainer_external\siebelwebroot\scripts\siebel\offline\custom
Python v2.x is required and must be installed to use the JavaScript migration tool.
The purpose of the JavaScript migration tool is to assist you in migrating application scripts from an asynchronous to a synchronous programming model. You can run the migration tool in debug mode (which is the default mode). Debug mode keeps the debug information in the output js file.
The JavaScript migration tool has the following limitations:
It cannot identify exactly which functions are asynchronous or synchronous.
It can handle native asynchronous functions (which contain $.setReturnValue or $.callback). However, it cannot handle the synchronous wrapper for asynchronous functions. Documented APIs are provided within the tool.
It cannot exactly identify whether or not the caller should receive a return value from the functions.