0
我已經使用高級pdf在NetSuite中定製了裝箱單。對於從銷售訂單創建的項目實現,它工作正常,但項目履行來自轉儲單時項目爲空。無論如何來解決這個問題?先進的謝謝你!如何使用高級PDF爲NetSuite中的轉儲單定製裝箱單?
<#if record.item?has_content>
<table class="itemtable" style="width: 100%; font-size: 8pt;" margin-
bottom="1px">
<thead>
<tr style="border-bottom: 2px solid #889588; background-color: #e3e3e3;
border-top: 2px solid #889588;">
<th colspan="12">Description</th>
<th colspan="3">SKU</th>
<th align="right" colspan="4">Quantity</th>
<th align="right" colspan="4">Memo</th>
</tr>
</thead>
<#if record.showAddlItemsPackSlip == 'NONE'><!-- start items --><#list
record.item as item><#list salesorder.item as tranline><#if
tranline.line==item.orderline><tr style="border-bottom: 1px solid #889588">
<td colspan="12">${item.description}</td>
<td colspan="3">${item.item}</td>
<td align="right" colspan="4">${item.quantity}</td>
<td align="right" colspan="4">${item.custcol_description}</td>
</tr>
</#if></#list></#list><!-- end items --><#elseif
record.showAddlItemsPackSlip == 'ALL'><!-- start items from sales order -->
<#list salesorder.item as tranline><#assign shipped=0><#list record.item as
item><#if tranline.line==item.orderline><#assign shipped=item.quantity>
</#if></#list>
<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.quantity}</td>
<td align="right" colspan="4">${tranline.quantitybackordered}</td>
<td align="right" colspan="4">${shipped}</td>
</tr>
</#list><!-- end sales order items --><#elseif record.showAddlItemsPackSlip
== 'UNFULFILLED'><!-- start items from sales order --><#list salesorder.item
as tranline><#assign shipped=0><#assign isInList=false><#list record.item as
item><#if tranline.line==item.orderline><#assign shipped=item.quantity>
<#assign isInList=true></#if></#list><#if isInList ||
tranline.quantitybackordered != 0>
<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.quantity}</td>
<td align="right" colspan="4">${tranline.quantitybackordered}</td>
<td align="right" colspan="4">${shipped}</td>
</tr>
</#if></#list><!-- end sales order items --></#if></table>
</#if>
你好!我已經嘗試過改變這個之前,但我仍然得到相同的結果。 – iDigress