To modify/create the label, you need to create a label design using ZPL by going on following navigation
Warehouse management->Setup->Document routing->Document routing layouts
To understand and design lable through ZPL -> following link is very helpful
http://labelary.com/viewer.html
Once you are into this form. You can use fields from the list highlighted in yellow while designing your label. This field list is generated from WHSLicensePlateLabel table.
If you don't have desired field available in table then how you can add that field in label and how you will populate? Please go through following points.
- You need to add new field into WHSLicensePlateLabel table.
- One new field is added to the table you can use this field in the designer explained above.
- The table record would not have these fields populated so you need to replace the placeholders while label generation. The newly added fields should have some relation with the existing fields of the table so you can fetch the data from other table relating it with current record set.
- Create the extension of class WhsDocumentRouting
- Make the CoC of method replaceFieldNameWithValue. It will be used to replace the place holder like shared in example below.
*This post is locked for comments