Email attachment types in transactions

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

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.