Scenario
Make the list in the Picking Ticket Form arranged in Alphabetical Order in Advanced PDF/HTML Templates using FreeMarker.
Solution
- Navigate to Customization > Forms > Advanced PDF/HTML Templates
- Edit/Customize the Standard Picking Ticket PDF/HTML Template
- 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> - Click Save.