Hi All,
I'm trying to insert a new business partner contact person into a BP record using a B1 Object call with method updateWithSubdeletion. I get a new user via a web call, insert the user and then I want to get the contact code of the person that was added so that I can return the code during the HTTP session.
The new contact person is added to B1 successfully, but when I add an SQL atom after the B1 object call the scenario processing fails, SQL locks up and B1 crashes. I have to restart the server to recover.
What I assume is happening is that the B1 object call method updateWithSubDeletion is asynchronous and is still in progress when the SQL call is executed which results in a deadlock.
I can't figure out any way to work around this without completely changing the data flow of the interfacing application. Does anyone have any ideas?
Regards
Cameron