I have a suitescript on aftersubmit on the Inventory item record that works perfectly when using the UI. I need it to fire when the inventory item is being updated via webservice but it is NOT doing it. Just to test, I created an action workflow that calls the same aftersubmit user event, and set it to execute under a webservice context. It works but it's very very slow and sometimes it times out.
I have the following settings:
1. Setup/Integration/webservices preferences/Disable server suitescript NOT Checked
2. My UserEvent script is released, execute as admin and all roles are authorized to run it.
Is there anything/setting from the webservice side that might be preventing the execution?
what else can I check for?
If I'm not mistaken I would not need to add any extra code on my UserEvent Script to check for the context correct?
I'd really appreciate any help on this.