Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Why am I Getting an on previewing Advanced PDF : FTL stack trace ("~" means nesting-related):
I’m receiving the following error when previewing the NOAM – Charges Invoice PDF/HTML Template. 😕
Failed to "?eval" string with this error:
---begin-message---
Syntax error in ?eval-ed string in line 1, column 8:
Encountered "ipsum", but was expecting one of these patterns:
"."
".."
<DOT_DOT_LESS>
"..*"
"?"
"??"
"!"
"["
"("
")"
<TERMINATING_EXCLAM>
---end-message---
The failing expression:
==> data?eval [in template "template" at line 290, column 110]
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if (data?eval)?? [in template "template" at line 290, column 104]
----
<#if record.custbody_atlas_svcs_mm_json?has_content><#assign data = record.custbody_atlas_svcs_mm_json><#if (data?eval)??><#assign m = data?eval><#assign printEmployee = false><#assign printDescription = false><#list m["charges"] as itemList><#if (itemList.f?has_content)><#assign printDescription = true></#if><#if (itemList.g?has_content)><#assign printEmployee = true></#if></#list>