Cross posting this from the Announcements forum, which doesn't allow replies.
https://usergroup.netsuite.com/users/forum/announcements/421966-advanced-pdf-html-templates-will-return-boolean-data-type
Previously, in advanced PDF/HTML templates, a boolean data type field on a related record returned a string data type. As of NetSuite version 2017.1, the returning data type will be boolean. This functionality typically applies to check boxes.
What is Changing?
As of NetSuite version 2017.1, advanced PDF/HTML templates that evaluate a boolean data type field on a related record will return a boolean data type.
If a template has not been updated, after this change occurs, an error similar to the following will appear when you try to create a printout or when you save the template:
The template cannot be saved due to the following errors:
The only legal comparisons are between two numbers, two strings, or two dates.
It's really frustrating that Netsuite is pushing a breaking update like this so late in the release cycle.