Error when clicking on Add Order or Add Contract buttons for Sage 300 Integrated Screens

Hi,

I completed installing and configuring CRM integration on both Sage 300 ERP and CRM7.2f. I tested around the integrated 300 ERP tabs and screens without any issues except when I clicked New Contract button under P/M Inquiry tab (see screenshot below) or New Order button under O/E Inquiry tab. When I clicked on either one of these buttons, it was not responsive at all. I enabled F-12 Developer Tool over IE 11 to track the error, and got the following error message when I clicked on either button:

SCRIPT1018: 'return' statement outside of function

File: PM_MainMenu.asp, Line: 1, Column: 734

Thanks a lot!