you need to describe your problem better
# suitescript
b
you need to describe your problem better
not liking it leaves far too wide a range of problems
😄 1
s
Ill rephrase my question. In an ADV PDF for a transaction, when the scripts steps through the list of line items to print, i want it to not print out a specific item. The example above says to use ?contains("String") but i would rather it check the internal id of the line to be printed. I change the If condition from
Copy code
<#if !item.item?contains("string")>
to
Copy code
<#if item.id != XXXX>
where XXXX = internal id of the item i want filtered out. I get a bunch of field type comparator errors. How do you suggest i filter out a line item to be printed by internal id?
b
you should print item.id
its not the internal id
s
Hmm ok. I didnt try printing it to debug but i was referencing the XML file of the Item record. It says that id = internal ID of the record.
Thanks for the suggestions ill dig deeper.