Good Morning,
I am trying to get a line number on the item fulfillment and have not found a solution. I want the lines to be in sequential order and to print on the advanced PDF. When using item.line i do get the item line number it just starts with 0. I have tried some solutions on suite answers and no luck. I also tried to add 1 to the number and it just concatenates the value. Any feedback or ideas would be appreciated.
<table class="itemtable" style="width: 100%; margin-top: 10px;">
<thead>
<tr>
<th align="center" colspan="2"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">LINE</span></span></th>
<th align="center" colspan="3"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">GM PART<br />NUMBER</span></span></th>
<th align="center" colspan="3"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">AC DELCO<br />PART NO.</span></span></th>
<th align="center" colspan="2"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">WTN<br />QTY</span></span></th>
<th align="center" colspan="2"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">SHPD<br />QTY</span></span></th>
<th align="center" colspan="2"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">B.O.<br />QTY</span></span></th>
<th align="center" colspan="3"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">CUST BIN<br />/PART NBR</span></span></th>
<th align="center" colspan="6"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">DESCRIPTION</span></span></th>
<th align="center" colspan="3"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">WEIGHT</span></span></th>
</tr>
</thead>
<#list record.item as item><tr>
<td align="center" colspan="2"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">${item.line}</span></span></td>
<td align="center" colspan="3"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">${item.description?keep_before(" ")}</span></span></td>
<td align="center" colspan="3"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">${item.description?keep_before(" ")}</span></span></td>
<td align="center" colspan="2"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">${item.quantityremaining}</span></span></td>
<td align="center" colspan="2"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">${item.quantity}</span></span></td>
<td align="center" colspan="2"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">${item.quantityremaining-item.quantity}</span></span></td>
<td align="center" colspan="3"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">${item.itemname}</span></span></td>
<td align="center" colspan="6"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">${item.description?upper_case}</span></span></td>
<td align="center" colspan="3"><span style="font-size:11px;"><span style="font-family:Arial,Helvetica,sans-serif;">${item.custcol_if_bol_col_weight}</span></span></td>
</tr>
</#list></table>