Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
webservice and script
Hello,
I have a script running on update
function Updatepoints(type, form)
{
var currentContext = nlapiGetContext();
var contxt = currentContext.getExecutionContext();
if(contxt == 'userinterface' || contxt == 'csvimport' || contxt == 'userevent' || contxt == 'scheduled'){
nlapiLogExecution('Debug', 'Executioncontext', 'Executioncontext = ' + contxt);
i also had contxt == 'webservice' but it was really slow when the webservice was updating the customer, so I remove it
What is the best solution to update the points after the webservice update the customer, workflow, massupdate?
Thanks for your advices
Cheers
Patricia
0