| As a basic template, the NetSuite does not allow any further advanced updates to this form. So we plan to do all this update in current advance pdf We will remove the “company address” from the header information in the existing template as it is not needed. The second column in sublist is the “Sales Description” of items and the third column will be the inventory item’s “Purchase Description”. We will create a transaction line field for purchase description and source the value from item record. So we can add this field in line item table in template. We will not include the last two columns “Back ordered “ and “shipped” as it is no longer needed. Will create a field “Warehouse Location” in the PDF form below the “shipvia” which will includes the location of inventory items in item fulfillment. Have to change the current alignment of order date, ship via and tracking number. Need to include the required fields in item table. Keep the shipping address as same as before. It will be taken from the shipping address of item fulfillment record. Includes banded colors in item line packing slip. Same color as did in estimate and invoice |
<?xml version="1.0"?><!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd">
<pdf>
<head>
<link name="NotoSans" type="font" subtype="truetype" src="${nsfont.NotoSans_Regular}" src-bold="${nsfont.NotoSans_Bold}" src-italic="${nsfont.NotoSans_Italic}" src-bolditalic="${nsfont.NotoSans_BoldItalic}" bytes="2" />
<#if .locale == "zh_CN">
<link name="NotoSansCJKsc" type="font" subtype="opentype" src="${nsfont.NotoSansCJKsc_Regular}" src-bold="${nsfont.NotoSansCJKsc_Bold}" bytes="2" />
<#elseif .locale == "zh_TW">
<link name="NotoSansCJKtc" type="font" subtype="opentype" src="${nsfont.NotoSansCJKtc_Regular}" src-bold="${nsfont.NotoSansCJKtc_Bold}" bytes="2" />
<#elseif .locale == "ja_JP">
<link name="NotoSansCJKjp" type="font" subtype="opentype" src="${nsfont.NotoSansCJKjp_Regular}" src-bold="${nsfont.NotoSansCJKjp_Bold}" bytes="2" />
<#elseif .locale == "ko_KR">
<link name="NotoSansCJKkr" type="font" subtype="opentype" src="${nsfont.NotoSansCJKkr_Regular}" src-bold="${nsfont.NotoSansCJKkr_Bold}" bytes="2" />
<#elseif .locale == "th_TH">
<link name="NotoSansThai" type="font" subtype="opentype" src="${nsfont.NotoSansThai_Regular}" src-bold="${nsfont.NotoSansThai_Bold}" bytes="2" />
</#if>
<macrolist>
<#assign DISPLAY_SOLINE_SHADDING = true /> <!-- Shade every 2nd item line -->
<macro id="nlheader">
<table class="header" style="width: 100%;">
<tr>
<td rowspan="2" style="width: 100%">
<table border="0" cellpadding="1" cellspacing="1" style="height: 85px; width: 100%;">
<tr>
<td style="width: 45%; height: 91px;">
<table style="width: 100%;padding-left:3px;">
<tr>
<td>
<div style="padding-bottom:-12px;margin-left:-4px;margin-top:-10px"><img src="${companyInformation.logoUrl}" style="float: left; width:190px; height:50px; margin: 7px" /></div>
<br />
</td>
</tr>
</table>
</td>
<td style="width: 55%; height: 91px;padding-left:0px; ">
<table style="width: 100%;margin-top:20px">
<tr>
<td style="width:100%; color:black;font-style:sans-serif" align="left"> <strong><span style="font-size:20px">${record@title}</span></strong></td>
</tr>
</table>
<#if record.item?has_content><#list record.item as item>
<#assign itemlocation = item.location />
</#list>
</#if>
<table style="width: 100%;height:30px;margin-left:2px;margin-top:37px;">
<tr style="font-size:8px;font-family:open-sans">
<td align="left" colspan="5" style="font-size:11px"><strong>Order Date</strong></td>
<td align="left" colspan="10" style="font-size:11px;"> ${record.trandate}</td>
</tr>
<tr style="font-size:8px;font-family:sans-serif">
<td align="left" colspan="5" style="font-size:11px;"><strong>Order #</strong></td>
<td align="left" colspan="10" style="font-size:11px;">${salesorder.tranid}
</td>
</tr>
<tr style="font-size:8px;font-family:sans-serif">
<td align="left" colspan="5" style="font-size:11px;"></td>
<td align="left" colspan="10" style="font-size:11px;">
</td>
</tr>
<tr style="font-size:8px;margin-top:20px;font-family:sans-serif">
<td align="left" colspan="5" style="font-family:sans-serif;font-size:11px" ><strong>Ship Date</strong></td>
<td align="left" colspan="10" style="font-size:11px;">${salesorder.shipdate}
</td>
</tr>
<tr style="font-size:8px;font-family:sans-serif">
<td align="left" colspan="5" style="font-size:11px;"><strong>Tracking #</strong></td>
<td align="left" colspan="10" style="font-size:11px;">${salesorder.linkedtrackingnumbers}
</td>
</tr>
<tr style="font-size:8px;font-family:sans-serif">
<td align="left" colspan="5" style="font-size:11px;"><strong>Ship Via</strong></td>
<td align="left" colspan="10" style="font-size:11px;">${record.shipmethod}
</td>
</tr>
<tr style="font-size:11px;">
<td align="left" colspan="5" style="font-size:11px;"><strong>Warehouse location</strong></td>
<td align="left" colspan="10" style="font-size:11px;">${itemlocation}
</td>
</tr>
<tr style="font-size:11px;">
<td align="left" colspan="5" style="font-size:11px;" ><strong>Release Number<span aria-hidden="true" class="required" style="color:red">*</span></strong></td>
<td align="left" colspan="10" style="font-size:11px;">${salesorder.custbody_jj_case_release_no}
</td>
</tr>
</table>
</td>
</tr>
</table><br /><br /><br />
</td>
</tr>
</table>
</macro>
<!-- <macro id="nlheader">
<table class="header" style="width: 100%; font-size: 10pt;"><tr>
<td rowspan="3"><#if companyInformation.logoUrl?length != 0><img src="${companyInformation.logoUrl}" style="float: left; margin: 7px" /> </#if> <span class="nameandaddress">${companyInformation.companyName}</span><br /><span class="nameandaddress">${companyInformation.addressText}</span></td>
<td align="right"><span class="title">${record@title}</span></td>
</tr>
<tr>
<td align="right"><span class="number">#${record.tranid}</span></td>
</tr>
<tr>
<td align="right">${record.trandate}</td>
</tr></table>
</macro>-->
<macro id="nlfooter">
<table class="footer"><tr><#if preferences.PRINT_BARCODES>
<td><barcode codetype="code128" showtext="true" value="${record.tranid}"/></td>
</#if>
<td align="right"><pagenumber/> of <totalpages/></td>
</tr></table>
</macro>
</macrolist>
<style type="text/css">* {
<#if .locale == "zh_CN">
font-family: NotoSans, NotoSansCJKsc, sans-serif;
<#elseif .locale == "zh_TW">
font-family: NotoSans, NotoSansCJKtc, sans-serif;
<#elseif .locale == "ja_JP">
font-family: NotoSans, NotoSansCJKjp, sans-serif;
<#elseif .locale == "ko_KR">
font-family: NotoSans, NotoSansCJKkr, sans-serif;
<#elseif .locale == "th_TH">
font-family: NotoSans, NotoSansThai, sans-serif;
<#else>
font-family: NotoSans, sans-serif;
</#if>
}
table {
font-size: 9pt;
table-layout: fixed;
}
th {
font-weight: bold;
font-size: 8pt;
vertical-align: middle;
padding: 5px 6px 3px;
background-color: #ADD8E6;
color: #333333;
}
td {
padding: 4px 6px;
}
td p { align:left }
b {
font-weight: bold;
color: #333333;
}
table.header td {
padding: 0;
font-size: 10pt;
}
table.footer td {
padding: 0;
font-size: 8pt;
}
table.itemtable th {
padding-bottom: 10px;
padding-top: 10px;
}
table.body td {
padding-top: 2px;
}
td.addressheader {
font-size: 8pt;
font-weight: bold;
padding-top: 6px;
padding-bottom: 2px;
}
td.address {
padding-top: 0;
}
span.title {
font-size: 28pt;
}
span.number {
font-size: 16pt;
}
span.itemname {
font-weight: bold;
line-height: 150%;
}
div.returnform {
width: 100%;
/* To ensure minimal height of return form */
height: 200pt;
page-break-inside: avoid;
page-break-after: avoid;
}
hr {
border-top: 1px dashed #d3d3d3;
width: 100%;
color: #ffffff;
background-color: #ffffff;
height: 1px;
}
</style>
</head>
<body header="nlheader" header-height="20%" footer="nlfooter" footer-height="20pt" padding="0.5in 0.5in 0.5in 0.5in" size="Letter">
<!-- <div style=" padding-top:-116px">-->
<table style="width: 100%; padding-top:-116px;margin-bottom:80px;;white-space:nowrap;height:auto"><tr style="margin-top:-8px;white-space:nowrap;">
<td class="addressheader" style="padding-bottom:0px">${salesorder.shipaddress@label}</td>
</tr>
<tr style="white-space:nowrap;">
<td class="address" style="max-height:100%;height:auto;white-space:nowrap;">${salesorder.shipaddress}</td>
</tr></table>
<#if record.item?has_content>
<table style="width: 100%;padding-top:-10px ;"><!-- start items --><#list record.item as item><#if item_index==0>
<thead>
<tr>
<th colspan="3" style="border-top: 1px; border-bottom: 1px; border-right: 1px; border-left:1px; padding: 10px 6px;">Item</th>
<th align="left" colspan="8" style="border-top: 1px; border-bottom: 1px; border-right: 1px; padding: 10px 6px;">Sales Description</th>
<th align="left" colspan="8" style="border-top: 1px; border-bottom: 1px; border-right: 1px; padding: 10px 6px;">Purchase Description</th>
<th align="right" colspan="3" style="border-top: 1px; border-bottom: 1px; border-right: 1px; padding: 10px 6px;">Order..</th>
<th align="left" colspan="3" style="border-top: 1px; border-bottom: 1px; border-right: 1px; padding: 10px 6px;">Units</th>
</tr>
</thead>
<#assign lineNo = 0 />
<#assign classItemDetailGry = "itemDetailGry" />
<#assign classItemDetailEnd = "itemDetailEnd" />
<#if DISPLAY_SOLINE_SHADDING && ((lineNo % 2)==1)>
<#assign classItemDetailGry = "itemDetailGryShade" />
<#assign classItemDetailEnd = "itemDetailEndShade" />
</#if>
</#if><tr class="rowItem" <#if DISPLAY_SOLINE_SHADDING>style="background-color: ${((lineNo % 2)==0)?string('#ffffff', '#E5E4E2')};"</#if>>
<td colspan="3"><span style="font-weight: bold; line-height: 120%; color: #333333;">${item.item}</span><br /></td>
<td align="left" colspan="8" line-height="120%">${item.description}</td>
<td align="left" colspan="8" line-height="120%">${item.custcol_jj_purchase_description}</td>
<td align="right" colspan="3">${item.quantity}</td>
<td align="left" colspan="3">${item.custcol_jj_item_units}</td>
</tr>
<#assign lineNo = lineNo + 1 /></#list><!-- end items --></table>
</#if>
<!--
</div>-->
</body>
</pdf>