List Items in Alphabetical Order in Picking Tickets

Written by
Marsha Andres
Published on
October 24th, 2023

Scenario

Make the list in the Picking Ticket Form arranged in Alphabetical Order in Advanced PDF/HTML Templates using FreeMarker.

Solution

  1. Navigate to Customization > Forms > Advanced PDF/HTML Templates
  2. Edit/Customize the Standard Picking Ticket PDF/HTML Template
  3. Find the line <#list record.item as item>, after record.item add:
    ?sort_by("item")
    Thus, the code would look like this:
    <#list record.item?sort_by("item") as item>
  4. Click Save.