The standard Advanced PDF template for the Item Fulfilment record (which is the Packing Slip) uses this code to list the items:
<#if salesorder.item?has_content>
<table class="itemtable" style="width: 100%; margin-top: 10px;">
<thead>
<tr>
<th colspan="12">${salesorder.item[0].item@label}</th>
<th colspan="3">${salesorder.item[0].options@label}</th>
<th align="right" colspan="4">${salesorder.item[0].quantityordered@label}</th>
<th align="right" colspan="4">${salesorder.item[0].quantityremaining@label}</th>
<th align="right" colspan="4">${salesorder.item[0].quantity@label}</th>
</tr>
</thead>
<#list salesorder.item as tranline><tr>
<td colspan="12"><span class="itemname">${tranline.item}</span><br />${tranline.description}</td>
<td colspan="3">${tranline.options}</td>
<td align="right" colspan="4">${tranline.quantityordered}</td>
<td align="right" colspan="4">${tranline.quantityremaining}</td>
<td align="right" colspan="4">${tranline.quantity}</td>
</tr>
</#list></table>
</#if>
I assume from the code 'salesorder.item' it is getting the Item details from the Sales Order record? - However it still must be referencing the Item Fulfilment record in some way because when you part fulfil an order, the Packing Slip only shows the items on that Fulfilment (not the whole order).
We use this Packing Slip template as our 'Delivery Note' - but also as our Proof of Delivery. Once our POD system imports delivery confirmations to the Fulfilment (names, electronic signature, photo etc), then we can re-print this document with the POD details on the bottom (so it lists the items delivered, and then shows who signed for it etc).
This has worked well for the last 3 years, but I have now had reports of these documents not showing the list of Items. From running some tests internally it would seem that the Packing Slip document will not list the Items if the Items on the Sales Order have been Billed.
Is this a functionality change in 2022.2? If so, why wasn't it mentioned in the Release Notes?
I accept that you could argue that a 'Packing Slip' (in the literal definition of the document) would not need to list Items that have been Billed - but this has not been the case previously.
I need to understand if this was an intentional change (in which case I have no idea how I am going to provide POD documents to customers moving forward; presumably another costly development project to provide a custom solution).
Alternatively, if this is a defect, then I'll have to raise it with support.