This article is relevant if you are a SuiteScript developer working with the new SuiteScript 2.0 API.
Data Handling with Checkboxes
In recent work with SuiteScript 2.0, one of my senior consultants discovered the following when working with Checkboxes server side:
- Edit Mode: BeforeLoad UserEvent: Checkboxes return the familiar: “T” and “F”.
- View Mode: BeforeLoad UserEvent: Checkboxes return the a JavaScript boolean based true and false.
Learn the SuiteScript 2.0 API
We are doing a bunch of new work with the SuiteScript 2.0 API and there are some new features that show that NetSuite is committed to the new model. The paradigm is different from SuiteScript 1.0 and don’t be surprised if you are not productive at first; all of us feel discomfort when we learn. If you are interested in any custom NetSuite development, let’s have a conversation.
This is VERY useful, unfortunately neither of these work for updating an existing checkbox via the API. I’ve tried T, F, TRUE, FALSE, YES, NO and none of those work. Any ideas how you can update a checkbox in netsuite such as is1099eligible from the vendor record via API?