Before i take a dive down the rabbit hole, Ive bee...
# general
s
Before i take a dive down the rabbit hole, Ive been tasked with creating labels that contain the name, description, and quantity of a transaction to put them on the boxes before these items are shipped. I know that theres different ways to approach this but seeing if anyone has done something similiar. I know that that theres a Print Item Label function but i need to pull quantity values from the transaction. How would yall approach this?
e
You could have one label per line item using an Advanced PDF template, is that what you're after? (it could include name, description, and quantity)
s
I found out how to edit the adv pdf for printing item labels but it looks like that advpdf is referencing the item record itself so not sure if i can grab the transaction quantity
e
You'd want to create an Advanced PDF for the Sales Order record, then loop through the lines and create one <page> with a set width/height (the size of your label) for each.
Alternatively, if you're comfortable with scripting, this can be some in a suitelet. (This is how I did it for my company). Essentially, the suitelet just takes in the Internal ID of the Sales Order, loads the sales order, loops through the lines and produces a PDF string for each line, then render that string to a PDF file and the user can print from there
s
Both options make sense. This is a good starting point for me. Thank you sir.