skorc123
2nd April 2008, 16:02
Hi all,
I have a problem with stpapi.end.session().
Situation...
I am importing data from a file into different company No at one go.
After I switch company from 100 to 200, I call a API session, importdata and close API. Then Iswitch back to 100, do whatever, switch to 300, call API and try to import. API works, but it is searching/writing in the wrong company, company 200. Switch.Company() did put me on the correct company!
Looks like the API session did not close when told to.
Any ideas?
As soon as possible anybody please!!!
Thank you.
I have a problem with stpapi.end.session().
Situation...
I am importing data from a file into different company No at one go.
After I switch company from 100 to 200, I call a API session, importdata and close API. Then Iswitch back to 100, do whatever, switch to 300, call API and try to import. API works, but it is searching/writing in the wrong company, company 200. Switch.Company() did put me on the correct company!
Looks like the API session did not close when told to.
Any ideas?
As soon as possible anybody please!!!
Thank you.