Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Blogs / ShabibAX / Modifying/Adding New Fields...

Modifying/Adding New Fields in Document Routing Layouts for Warehouse/License Plate Labels.

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.

pastedimage1651760591681v1.png

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.

pastedimage1651761340203v3.png

Comments

*This post is locked for comments