This topic contains 1 reply, has 0 voices, and was last updated by michoel 7 years, 1 month ago.

  • Author
    Posts
  • #2244 Score: 0

    michoel
    • Contributions: 0
    • Level 1

    Cross posting this from the Announcements forum, which doesn’t allow replies.

    https://usergroup.netsuite.com/users…lean-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.
    This is a cached copy. Click here to see the original post.

  • #2245 Score: 0

    michoel
    • Contributions: 0
    • Level 1

    Also, instead of Netsuite’s recommended code, you can use this utility function instead:

    Code:

You must be logged in to reply to this topic.