For my company's use of NetSuite I had to do some extensive SuiteScripting at the contact level, so that processes that were 'missing' from NetSuite, but that were available in our previous CRM (of 10 years) are still available to our users, and so that NetSuite can be fully integrated with our public facing website.
So, I have lots of scripts that execute when a contact is saved by a user within NetSuite, or when a contact is updated by our website using the Web Services API. And, because of this, those updates take quite a while to complete.
In my experience, if I perform WriteResponse wr = _service.add(contactRecord) in my .NET code the creation of the contact is pretty quick, but it's not until all the SuiteScript is complete that I'm given my wr.status.isSuccess and my .NET code can continue.
Now, I have a few scripts where all I want to do is update a single custom field, but when I do all the SuiteScripts for contacts are executed, making what should be a very quick single update into a long and drawn out update, of which most is done within NetSuite.
So... my question is this:
Is it possible to, when using the API to update contacts, temporarily disable the execution of the SuiteScripts? i.e. when I want to add a new contact via the API, I need to contact based SuiteScript to execute, but when I want to update a single custom field on a contact, can I stop those SuiteScripts being executed?
I'm prepared for disappointment... so don't hold back