I'm trying to print out certain information on a l...
# advancedpdf
a
I'm trying to print out certain information on a line item of a Picking Ticket PDF, but only if the item is a serialized item. For whatever reason, I'm not able to find a field to reference that shows whether the item is serialized or not. Has anyone managed to do this?
j
I know there's an "Is Serialized Item" field for saved searches and the like with internal ID {isserialitem} Have you tried something like ${item.isserialitem} or whatever variation you need trying to hit that field?
For packing slips, but also maybe this would help point in the right direction? https://suiteanswers.custhelp.com/app/answers/detail/a_id/101188/loc/en_US
a
Thanks, yeah I've tried all of the variations. I've used item.isserial on invoice PDFs successfully but for whatever reason, it seems the data isn't available on the sales order line. Inventory Detail doesn't work because it isn't populated on the SO line - the fulfillment is usually the first place serial numbers are added to that subrecord.
j
and just to be clear you're using isserialitem not isserial correct?
a
I tried every variation I could think of
j
kk, I actually don't have inventory in my current account, so can't test it out. May not be possible as you suggest. Sorry I couldn't help more.
a
No worries, I appreciate the reply. Looking like a custom script may be needed
m
@al3xicon I know this is a few days later, but to get the is serial on a picking ticket, you need to do "item.item.isserialitem" The initial item level is just whats on the line from the transactions. Doing item.item gets you to the actual item record data, there you can grab the isserialitem field.
a
will try that but I thought calling
item.item
and then referring to anything on the item record would only work for the first line, and then the value of the first line would repeat for all lines below it - perhaps NetSuite has fixed that though?
m
I'm sorry, you are correct. That was actually something I wasn't aware of, just tested it out in our system.
a
ahh no worries, appreciate the thought anyway