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
Beau
03/24/2020, 8:13 PM
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.
Beau
03/24/2020, 8:16 PM
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
Aria Ghahari
03/24/2020, 8:16 PM
That is what i thought. But it is not.
Such a shame that standard fields would not be available.
Poor design.
t
t_gdb
03/25/2020, 11:05 AM
when I put ${item.item} i only get the itemid.
👍 1
a
Aria Ghahari
03/25/2020, 1:45 PM
item.item works. But it concatenates the item name/number with display name. I wanted just the item number and not the display name.