Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Error in Advanced PDF Template - just started (but template hasn't changed)
I have been using an advanced PDF template for our statements for the last 2-3 months without error, but today they have started erroring.
I have removed some of the custom code I added, and this has stopped them erroring (indicating the error is in this part of the code), but this code has not been altered recently.
Is there anything that has changed in the background in NetSuite that could be causing issues with this:
<#if line.description?starts_with("Invoice")>
<#if line.charge != line.amountremaining>
<#assign apptran = line.charge-line.amountremaining>
${apptran?string.currency}
</#if>
</#if>
<#if line.description?starts_with("Payment")>
0