Issue – when sending emails from transactions, the attachment sending as HTML doc rather than a PDF Solution: The email preference in the customer record may have been set ‘Default’ value. And in Set preferences(under the Home tab), the Transaction Email attachment format may be set as HTML (Under the transactions tab). Then when sending… Continue reading Email attachment types in transactions
Tag: pdf
Date comparison in Advanced PDF template
In order to show vale based on the date filter refer below sample
Serial Number of Inventory Detail
Refer the following sample code for fetching the serial number from inventory details into advanced PDF template
Populate Credit Applied transaction data into PDF
User Event Client Script Suitelet
Adding data in a column with multiple alignment in XML pdf template
To print the data as in first cell, with SO number and IF number, do as follows
Freemarker code to display a table on the entire page even if the data size varies.
Freemarker code to display a table on the entire page even if the data size varies.
Display Full Country Name on Printing Picking Ticket Using Advanced PDF Templates
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.
Generate a PDF file for a transaction record in a suitelet.
Create an xml file of the printing template.Store it in file cabinet /** * @description function for rendering pdf file * @param {filePath} specify the file path for the xml file for pdf template(/suitescript/template/…/name.xml) * @param {recType} specify the record type (salesorder/estimate/invoice….) * @param {Id} internal Id of the record to be printed. */ function… Continue reading Generate a PDF file for a transaction record in a suitelet.
Sending Statement PDF through email
Requirement We need to render statement and send the statement pdf as email attachment Solution Add the following code snippet in your script for to render statement as pdf and send as attachment through email