hi there,
Working with BOI over here and trying to troubleshoot a what I think is a network issue. The lay of the land is I have a Sage 100 server (sc-as02 Server) and I have another server( sc-as01 Server) that has workstation setup components on it - i'll call that one the workstation. I can connect to the data and update customers from either the server or the workstation via the Standard Sage 100 screens. No errors.
Next I put a BOI script on the 100 server (sc-as02) to insert a test customer. The script is attached. It is very basic - just inserts the customer number, name and salesperson. When I run the script on the 100 server(sc-as02) , it inserts the customer as expected and when I look in the standard 100 screen I can see my new customer. Yay - so far at least.
Now I go over to the workstation (sc-as01) and try to run the BOI script that resides on the Sage 100 Server - wont insert the new record. I copied the BOI script down to the workstation (sc-as01) and tried running that one - still no joy. I tried changing the path to the workstation 'home' directory as well as the server directory but always get errors from the workstation side. I tried launching cmd as admin and running via command prompt still doesnt insert the record.
So my question is can you invoke BOI scripts across a network? Should the BOI script reside on server or on each workstation that will run it? if it is on the workstation, when running a BOI script, the oScript.Init() data - should this be pointed to the server that has the 100 server components on it or the local workstation install directory? i have tried it both ways on the workstation and neither work - nor does copying the script to the workstation and updating the paths here. Since this is on a secure network could it be that some network security is blocking network wide scripts or launching of scripts across the network? Firewall or antivirus?