Solution
In the template source code, find the section where the item sublist is being looped through.
Replace <#list salesorder.item as tranline> with <#list record.item as tranline>.
Make sure to adjust the columns based on the Transaction Line Fields available on the Item Fulfillment.
After making the necessary modifications, save the changes to the template.