SunShine
02/15/2025, 5:22 AMCeligo AI
02/15/2025, 5:22 AMAI generated answer (using internal Slack threads):To get the checkbox status in an advanced PDF/HTML template in NetSuite, you can use the FreeMarker templating language. The checkbox field in NetSuite is a boolean field and it returns either 'T' or 'F' for true or false respectively. You can use the following syntax in your advanced PDF/HTML template:
<#if record.checkboxField == 'T'>Checked</#if>
Replace checkboxField
with the actual field id of your checkbox. This will print 'Checked' if the checkbox is checked.
If you want to print 'Unchecked' when the checkbox is not checked, you can use the following syntax:
<#if record.checkboxField == 'T'>Checked<#else>Unchecked</#if>
This will print 'Checked' if the checkbox is checked and 'Unchecked' if the checkbox is not checked.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
02/15/2025, 5:22 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.808576763
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.80463016
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.798555613
Celigo AI
02/15/2025, 5:22 AM