Join Slack
Powered by
Hello, how do I set the value for a checkbox field...
# suitescript
p
Phillip
11/05/2020, 8:44 PM
Hello, how do I set the value for a checkbox field to true? licensecomp.setValue({fieldId: 'vsoedelivered',value: 'T'});
e
eminero
11/05/2020, 9:05 PM
in Suistescript 2.0 you need to use true boolean value instead of 'T'
c
Craig
11/05/2020, 10:51 PM
Copy code
licensecomp.setValue({ fieldId: 'vsoedelivered', value: true });
Craig
11/05/2020, 10:52 PM
licenseComp (camel case) is a nicer name for that variable too. That's a flame war though.
7
Views
Open in Slack
Previous
Next