In the context of advanced PDF templates in NetSuite, you can use conditional statements to dynamically include multiple PDFs based on certain conditions. With if-else statements, suggests a way to achieve this dynamic inclusion.
Let’s break down the example you provided:
<#if record.memo?has_content> <pdf>....</pdf> <else> <pdf></pdf> </#if>
This code implies that if the condition {record.memo?has_content} is true, then include the content between <pdf>....</pdf>. Otherwise, if the condition is false, include an empty <pdf></pdf>.