When using ${record.shipcountry} on the AdvancedĀ Picking Ticket PDF Template, it will only display the Country Code instead of the full Country Name. A solution is available by using the Shipping Address and trimming its value.
Author: Keerthy Davis
Convert Amount into Thai Words
Convert Amount into words
To convert Total amount of record into words on the after submit
Allow the user to add more than one file to the file upload part of the form
Following is the sample code for uploading multiple files at a single form submit to the customer record HTML Suitelet
Include a Link in the Email Template to View the Transaction Record
Navigate to Documents > Templates > Email Templates Email Templates: Click Edit Click Div</> or Source Text Editor: Enter <br> <a href=”${transaction.url}”>View Record</a> <br> Click Save
Show Item Fulfillment Tracking Numbers on your Email Template
To include Item Fulfillment Tracking Numbers( that are clickable) on the Email Templates, refer following steps Step 1 : Navigate to Documents > Templates > Email Templates Step 2: Custom Email Template: Click Edit Step 3 : Click Source Edit Mode Step 4 : Paste the below HTML code to the Email body field:<!–Tracking Number Link Code–><#if transaction.createdfrom.shipcarrier==’UPS’><#list transaction.packageups as pkg>Your UPS Tracking Number is ${pkg.packagetrackingnumberups}. To… Continue reading Show Item Fulfillment Tracking Numbers on your Email Template
Populate Contact Name of Customer in Sales Order to Advanced PDF
Suppose if we want display contact name on the Sales Order PDF print then we needs fetch it from contact record. Normally up to 3 join are supported on the Advanced PDF template. In order to populate contact name to PDF, please refer following steps Step 1: Create a custom entity field on the customer… Continue reading Populate Contact Name of Customer in Sales Order to Advanced PDF
Rescheduling using Scheduled Script
Last Element of Array in Advanced PDF template
To get the last element of the array , refer following sample
Check whether a string contains number or not in Advanced PDF template
To check whether a string contain numbers or not , refer the following template code sample