on an advanced PDF form I have it set to only prin...
# suitescript
j
on an advanced PDF form I have it set to only print certain line items. <#if item.custcol_so_line_sort_num?has_content || item.amount != 0>
a
you already have 2 OR conditions you should be able to add a 3rd in the same line.
<#if item.custcol_so_line_sort_num?has_content || item.amount != 0 || item.custcol_thismustnothavecontent?has_content == false >
which you might also be able to write as
!item.custcol_thismustnothavecontent?has_content
also depending on the datatype for you field
has_content
may not be the best approach.
j
First thank you for the response! The line column I am referring to is where our support staff enters the return authorization number. I don’t want any line items to print when a return authorization has been done so I thought that if the column is empty I’m good to print.
a
right, replace the custcol_thismustnothavecontent, with whatever the field id is.
the == false, and ! in each example is to effectively make it "does NOT have content"
j
Ok great. I’ll try that. Thanks again