Hello - Any idea as to why I can't add line-level ...
# advancedpdf
g
Hello - Any idea as to why I can't add line-level department (or any segment) to an Invoice Adv. PDF template? It won't let me select this field. Basically, I wish to show line-level segments in my invoice PDF. Any insights would be highly appreciated. Thanks!
d
Use ${item.department} for referencing line level fields
g
Hi @Deepthi - Thanks for your response. However, it's still not working.
Also, the dept set at the item level could be different from the dept set at the line level of an invoice.
d
Whats the error. Which form is this
Yes the dollar sign and dot is how u reference line segments
g
wait, it worked!
sorry! it was called something else in netsuite.
Thank you so much!
d
No problem
g
Follow up question, how can I reduce the size of individual columns?
resizing it manually isn't decreasing the width of each cell.
something like this -
basically, I want to reduce the "Amount" column
s
Look at your
<td>
tags for either a colspan or width attribute. Decreasing colspan should work, but if it’s using width percentages, then you’ll need to re-allocate any percentage reduction from amount to one or more other cells/columns to keep the total widths at 100%
g
Got it, thank you.