rustyshackles
10/16/2017, 12:46 PMnlapiSetFieldValue call, the script is executed for each call of this API. This is causing the infinite loop, what you can do is use the parameter fireFieldChange and set it to false. I would also recommend that you set the asynchronous parameter to true. The updated nlapiSetFieldValue call will look like this nlapiSetFieldValue('undepfunds', 'F', false, true)