<@U8LG4JDPY> I think NetSuite does something weird...
# advancedpdf
m
@Kris Wood I think NetSuite does something weird with
duedate
. I've manage to get it to work in email preview but as soon as you hit send it errors.
k
You can bypass errors by putting the code inside an
<#if>
statement
The template engine considers duedate null unless you have a record loaded
so any operations on it cause errors
so I put an if duedate length gt 0 before it and errors went away
the problem I'm having is that netsuite doesn't seem to have implemented the date builtins for strings. They don't seem to do anything at all. 😞