Relative Content

Tag Archive for netsuitesuitescript2.0

SuiteScript 2.X Client Script Set Sublist Value not working

I’m attempting to uncheck a checkbox on the Sales Order transaction during line item entry if the location is a specific ID, I have tested with console.log() and confirmed I’m able to see the value, but for some reason when I attempt to set the value it won’t work.

SuiteScript 2.0 add button, redirect to form, populate reason field

I am trying to update the value on a record based on a value entered on a custom form when clicking a button. I am using a Suitelet script, User event script, and a Client script to achieve this. Essentially, the user will click the button to reject a bill, record a reason, and then it will populate on the bill and set the rejected status.