While iterating through my list of items on a tran...
# advancedpdf
j
While iterating through my list of items on a transaction in my PDF, is it possible to retrieve values stored in custom fields on the Item record itself? I can access the fields via
${item.custitem_my_field}
but the values it’s returning are not correct, it’s returning blank for everything.
I also tried ${item.item.custitem_my_field} which gives a value but gives the same one for all items (and it’s wrong)
m
You need to create non stored transaction line fields to expose item fields to transaction PDF templates
They also have to be enabled on the custom form
If you don't want them to actually show in the UI, you can blank the label which tricks the UI to hide them
j
ah non-stored is smart, and make ’em source
that way I don’t think I have to add them at every stage Opportunity->Estimate-SalesOrder if I only need them on SO
Thanks so much for pointing me in the right direction, @michoel This worked!