Appending ‘#’ To WMS Pallet Label pdf Template

<?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>
</head>
<body padding="0.5in 0.5in 0.5in 0.5in" size="Letter">
    <table style="border:2px solid #D3D3D3;font-family:sans-serif"><tr>
	<td>
	<table cellpadding="1" cellspacing="1" style="margin:10px;"><tr style="border-bottom: 1px solid;">
		<td colspan="2">PALLET LABEL</td>
		</tr>
		<tr>
		<td colspan="4">ITEM NAME/NUMBER</td>
		</tr>
		<tr style="border-bottom: 1px solid">
		<td colspan="4">${record.custrecord_wms_item}</td>
		</tr>
		<tr>
		<td colspan="4">ITEM DESCRIPTION</td>
		</tr>
		<tr style="border-bottom: 1px solid">
		<td colspan="4">${record.custrecord_wms_item_desc}</td>
		</tr>
      	<tr>
		<td colspan="4">TRANSACTION NUMBER</td>
		</tr>
		<tr style="border-bottom: 1px solid">
		<td colspan="4">${record.custrecord_wms_tran_num}</td>
		</tr>
		<tr style="border-bottom: 1px solid;padding-top:-1px;padding-bottom:-1px;">
		<td>
		<table><tr>
			<td>QTY</td>
			</tr>
			<tr>
			<td>${record.custrecord_wms_item_qty}</td>
			</tr>
          <tr>
		<td colspan="4">INVENTORY STATUS</td>
		</tr>
		<tr style="border-bottom: 1px solid">
		<td colspan="4">${record.custrecord_jj_inventory_status}</td>
		</tr>
			<#if record.custrecord_wms_uom?length!=0>
			<tr>
			<td>UOM</td>
			</tr>
			<tr>
			<td>${record.custrecord_wms_uom}</td>
			</tr>
			</#if></table>
		</td>
		<td style="border-left: 1px solid;">
		<table><tr>
			<td>RECEIVED</td>
			</tr>
			<tr>
			<td>${record.custrecord_wms_tran_date}</td>
			</tr>
			<#if record.custrecord_wms_lot_num?length!=0>
			<tr>
			<td>LOT#</td>
			</tr>
			<tr>
			<td>${record.custrecord_wms_lot_num}</td>
			</tr>
			</#if><#if record.custrecord_wms_lot_exp_date?length!=0>
			<tr>
			<td>EXPIRY DATE#</td>
			</tr>
			<tr>
			<td>${record.custrecord_wms_lot_exp_date}</td>
			</tr>
			</#if><#if record.custrecord_wms_serial_number?length!=0>
			<tr>
			<td>SERIAL#</td>
			</tr>
			<tr>
			<td>${record.custrecord_wms_serial_number}</td>
			</tr>
			</#if></table>
		</td>
		<td colspan="2" style="border-left: 1px solid;">
		<table><tr>
			<td>SKU:</td>
			<td>${record.custrecord_wms_item}</td>
			</tr>
           <#assign customQR = (record.custrecord_wms_item + '#'+ record.custrecord_wms_item_desc + '#'+ record.custrecord_wms_lot_num + '#'+ record.custrecord_wms_item_qty + '#'+ record.custrecord_wms_uom + '#'+ record.custrecord_wms_lot_exp_date)>
            
             
			<tr>
			<td><barcode codetype="qrcode" showtext="false" height="80" width="80" 
value="${customQR}"/>
             </td>
			</tr></table>
		</td>
		</tr>
		<tr style="border-bottom: 1px solid;padding-top:-1px;padding-bottom:-1px;">
		<td colspan="2">
		<table><tr>
			<td>&nbsp;</td>
			<td>RECEIPT#</td>
			</tr>
			<tr><#if record.custrecord_wms_tran_num?length!=0>
			<td>${record.custrecord_wms_tran_num}</td>
			</#if></tr></table>
		</td>
		<td colspan="2" style="border-left: 1px solid;"><#if record.custrecord_wms_inbshipment?length!=0>
		<table><tr>
			<td>&nbsp;</td>
			</tr>
			<tr>
			<td>${record.custrecord_wms_inbshipment}</td>
			</tr></table>
		</#if></td>
		<#if record.custrecord_wms_inbshipment?length!=0>
		<td align="right">SHIPMENT#</td>
		</#if></tr>
		<tr>
		<td align="right" colspan="4">BY: ${record.custrecord_wms_user}</td>
		</tr></table>
	</td>
	</tr></table>
</body>
</pdf>

Leave a comment

Your email address will not be published. Required fields are marked *