Anyone know why NS is kicking back line 233?
# advancedpdf
m
Anyone know why NS is kicking back line 233?
t
Shouldn’t “Fully applied” be a string?
👍 1
m
Could you help me with fixing the code?
d
<#if record.status == "Fully Applied">
m
Thanks @David B the error now moved to line 246 🤦‍♀️
message has been deleted
d
Hey, NetSuite naively adds the
</#else>
closing tag, but that's actually incorrect for Freemarker (the engine that creates the XML HTML from the NetSuite transaction). Delete that tag (and any other
</#else>
there may be). the correct pattern to use is:
Copy code
<#if condition>
    ${iftrue}
<#elseif condition>
    ${elseiftrue}
<#else>
    ${else}
</#if>