```The template cannot be printed due to the follo...
# advancedpdf
r
Copy code
The template cannot be printed due to the following errors: Error on line 319, column 9 in template. Detail... Can't compare values of these types. Allowed comparisons are between two numbers, two strings, two dates, or two booleans. Left hand operand is a sequence+hash+string (wrapper: com.netledger.templates.model.EmptyModel). Right hand operand is a number (wrapper: f.t.SimpleNumber). The blamed expression: ==> record.tax2total != 0 [in template "template" at line 319, column 14] ---- FTL stack trace ("~" means nesting-related): - Failed at: #if record.tax2total != 0 [in template "template" at line 319, column 9] ---- Error on line 371, column 9 in template. Detail... Can't compare values of these types. Allowed comparisons are between two numbers, two strings, two dates, or two booleans. Left hand operand is a sequence+hash+string (wrapper: com.netledger.templates.model.EmptyModel). Right hand operand is a number (wrapper: f.t.SimpleNumber). The blamed expression: ==> record.tax2total == 0 [in template "template" at line 371, column 14] ---- FTL stack trace ("~" means nesting-related): - Failed at: #if record.tax2total == 0 [in template "template" at line 371, column 9] ---- Please contact your administrator.
Haven't seen this one before. Thoughts?
d
never seen an operand being a "sequence+hash+string" I take it you don't get intelligible outputs from trying:
${ record.tax2total?join("|") }
(treating it as a sequence) or
${ record.tax2total?keys?join("|") }
(treating is as a hash)
r
It's not an issue I can reproduce in SB.
netsuite 1
d
of course not
Only other thing I can think of trying is
record.tax2total?number != 0