is there any way to print a custom field from an i...
# suitescript
n
is there any way to print a custom field from an item on an advanced PDF item label? I have tried literally everything I can think of
m
Create a custom column field on the transaction and source the item field into the custom column field. Then use the custom column field on the PDF
n
for item labels though
?
usually item labels are printed from the item record
m
Oh sorry I mis read your initial request
Have you tried adding ${item.custitem_custfieldid} using the source code
(Or whatever your field id is
n
unfortunately yes I have tried and it doesn't seem to pull through
m
If you look at the source code there should be a <list> tag. Does it say < list items as item>?
n
let me check
right now we have: <#list records as label>
m
Try using ${label.custitem_fieldid}
n
yeah we tried that and it doesn't work ... i honestly don't know why it wouldn't work
FYI we ended up using the basic item template which includes custom fields