Sales Order Description in Wave print

To Populate the sales order description(memo) value in Wave PDF form, refer the advanced PDF code sample below

  • Go to Customization->Forms->Advanced PDF/HTML Templates
  • Customize the Wave PDF
  • Update the template with below sample code
  • Save
<table class="tableStyleSpecific"><tr>
		<td align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${lineitem.docnum@label}</td>
		</tr>
		<tr>
		<td><barcode codetype="code128" showtext="true" value="${lineitem.docnum}"/></td>
		</tr>
      
        <#list record.waveorders as lineitem2>
          
          <#if lineitem.ordernumberid == lineitem2.ordernumberid?replace(",","")>
            <tr><td>Lineitem : ${lineitem.ordernumberid} - Lineitem2 : ${lineitem2.ordernumberid?replace(",","")}</td></tr>
          <tr><td>Memo : ${lineitem2.orderMemo}</td></tr></#if>
        </#list>
        
      </table>

Leave a comment

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