Thought I would share my finding on this matter si...
# advancedpdf
a
Thought I would share my finding on this matter since NS has marked it as an enhancement 345568 (Advanced PDF/HTML Templates > Custom Item Label PDF/HTML Template > Ability to print Standard/Custom Item Fields on Item Label Template) with no alternative solution.) We wanted to add just out item number (ITEM NAME/NUMBER [itemid]) to our Advanced PDF. Whenever I added,the results are blank. Our partners said it was not possible and NS has marked as an enhancement with no alternative solution. I used ${item.item?keep_before(" ")} and got just the item. For anyone who is running into this issue.
b
We ran into the same problem, for some extremely strange reason Advanced PDF only has a small number of fields available for Item Labels specifically. I had to create a data model via suitescript with the field we needed (in our case, one of the price levels) and pass that to the Advanced PDF / Freemarker.
i’m actually surprised tho that itemid isn’t one of those fields that is available, I thought itemid and item description were the few fields that are actually available for Item Labels
a
That is what i thought. But it is not. Such a shame that standard fields would not be available. Poor design.
t
when I put ${item.item} i only get the itemid.
👍 1
a
item.item works. But it concatenates the item name/number with display name. I wanted just the item number and not the display name.