Skip to content

Label Formats Create the labels you need.

Tropicalrambler (Alain Berger) edited this page Jul 12, 2020 · 1 revision

Label Format

With our ERPNext label format functionality, you can now create labels on the fly from the places where you need them the most: Purchase Receipt Stock Entry Delivery Note

Each of these DocTypes now has a PDF icon right next to the menu button. Its sole purpose is to execute the PDF generation script.

An example using Purchase Receipt to print Serial Number Labels. Requirements: At least one configured Label Formats.

In this example, we are receiving different items to our warehouse, and each item is required to have a serial number printed. ERPNext creates serial numbers for Items that have this setting configured. When the purchase receipt is created, the user enters the quantity of each different item in the child table. When saving/submitting, ERPNext will create serial numbers for each of these and save them in a text field on each item row shown on the purchase receipt. Now, our user needs to print a serial number for each item. To do this, user clicks on the PDF icon, and the dialog shown will list all the configured Label Formats. Our user picks the "Incoming Serial No" formats, and clicks or taps on "Generate Labels". Our application will automatically deliver a rendered PDF with the correct amount of labels per each item listed in the purchase receipt, as requested by the user.

Limitations: Only one label format can be used for all items in a single PDF generation.

If user wants to select two different label formats for different quantities up the total quantity of each item in the purchase receipt, the user cannot do so (yet)

Future Functionality: A section break in Item where the user can specify which label formats apply per Item. Given this, the print dialog will show a table where the user can specify: Which Item, which format and quantity of the chosen format. This would allow the user to select one format for a portion of the total quantity of an item and another format for the remaining portion. The result would be different PDF files, one per print format. Many businesses either have several label printers with different media already setup, or they do a print run with one width of label, and then reconfigure the machine to print with another width of label. Either way, separate PDF's containing a consistent page size is the effective course of action: You wish to print all labels of X width in a single run of the correctly configured media, and after reconfiguration, or on a separate machine configured for Y width, all of those labels.

????? Custom Fields in Purchase Receipt Delivery Note Stock Entry If repack, and label purpose= Serial Numbers The serial numbers for incoming Items serials present for both Issue Item and Receipt Item, then

Clone this wiki locally