Anyone know how to determine if an item is a Lot o...
# advancedpdf
j
Anyone know how to determine if an item is a Lot or Serialized item on a transaction PDF? I tried "item.isserial" and it reports False for both types.
s
When I did this a few years ago I had to make a "Is Lot/Serialized Item?" custom field that was also on the transaction line, and update/add logic where if the item was lot/serialized, that box was checked. I then used that on the Advanced PDF - but there may be an easier way now
j
thanks
m
@Jim Schweder You need to do it as "item.item.isserialitem". The initial item level is just whats on the line level of the transaction record. "item.item" does basically a join to the actual item record where you can grab the isserialitem field from the item record.
j
Thanks