Hello all, I have a weird situation here with adv...
# advancedpdf
s
Hello all, I have a weird situation here with advanced PDF, I have a customized Return authorization PDF template. in RMA I have 5 lines, but in PDF I get to see only first two lines not the rest, in Code there are no condition at all... Can you please help in identifying whats the issue here or are there any configuration issue?
<table class="itemtable" style="width: 100%; margin-top: 10px;">
<!-- start items -->
<#list record.item as item>
<#if item_index==0>
<thead>
<tr>
<th colspan="12">Activity</th>
<th colspan="4" align="right" >${item.amount@label}</th>
</tr>
</thead>
</#if>
<tr>
<td colspan="12"><span class="itemname">${item.description}</span></td>
<td colspan="4" align="right" >${item.amount}</td>
</tr>
</#list>
<!-- end items -->
</table>
d
is there any CSS that would alter the display of
.itemtable
?
s
Good point, cross-checked. No.
p
Are all the lines ITEMS?
s
There 5 line items, 2 are coming, 3 are not coming.
p
Then it would only show 2 items then?
s
Yes it's only showing 2 items. But I want all 5 items should be displayed ...
d
I misunderstood the issue, ignore this I've had a similar requirement for Item Fulfillment Packing Slips. The client wanted all Sales Order lines on the Packing Slip, not just the ones on the fulfillment (columns for "previously shipped", "in this shipment" and "on backorder") The solution was to loop the sales order lines, I'll see if I can find the relevant code
Sales Order info on Item Fulfillment.html
There 5 line items, 2 are coming, 3 are not coming.
I think I have misunderstood what the issue is, ignore the above messages from me. I thought you were trying to access all 5 lines from the originating transaction (usually an invoice for RMA). However I now think you meant there are actually 5 lines on the RMA itself, 3 of which aren't displaying My only other advice would be to print using the default NetSuite pdf template and see if all lines print. If so, there's something wrong with the customized template.