Sage 300 ERP (2012) and Sage CRM (7.2) Integration - external access

We have a Sage 300 2012 / Sage CRM 7.2 installation with integration between the two. All was working fine until we made the CRM accessible external to the network, and used a non standard port (not port 80). We have most of it back up and running with the exception of the following two issues:

1. In Sage CRM, if you click on the Quotes or Orders tab on an Opportunity, you get an error 404.

2. If we update a customer or vendor record in Sage CRM, Sage 300 is updated, Sage CRM is updated but Sage CRM freezes and you can't get back to that customer or vendor within Sage CRM unless you do an IISRESET.

Note that we've also made it so that the url you use to logon to CRM is the same internally as it is externally. We achieved this by editing the bindings in IIS on the default web site (host name is our external address to the CRM server, i.e. Host Name = companyx.dyndns.org; Port = 8086; IP Address = 192.168.2.100. (Of course these details have been changed in this posting to protect the actual site). Therefore, to get to CRM, from internal or external, you go to companyx.dyndns.org:8086/CRM.

On the server, I've gone into the Web Deployment manager and changed the 3 url's on the Web Server Settings tab to use the new url. In Sage 300, I've gone into Sage CRM Workstation setup and changed the url in there. We've opened port 8086 and the Tomcat port.

I did take a look at the eware log and it appears that SData is still accessing the old url when you logon to CRM. Does anyone know how to change that? I think that's my next most logical step but would welcome any other ideas/thoughts.

Thanks!