Rotate Element in PDF Template for BarCode caption

Below is the code for rotating the barcode caption in 270° <table width=“100%”>             <tr>                     <td align=“left” rotate=“-90” width=“20%” vertical-align=“bottom”>                      Caption-1                  … Continue reading Rotate Element in PDF Template for BarCode caption

Understanding Advanced PDF Printing Errors with Rich Text Fields in NetSuite

When printing transactions in NetSuite using Advanced PDF/HTML Templates, user may encounter errors if the template includes a Rich Text custom field. The printing failed with the following error: Error Message: The template cannot be printed due to the following errors:  Error on line 203, column 504 in template.  Detail: The value of attribute “style”… Continue reading Understanding Advanced PDF Printing Errors with Rich Text Fields in NetSuite

Difference between createpo and createdpo on Advanced PDF/HTML Template of Picking Ticket

When editing an Advanced PDF/HTML Template for a Picking Ticket in NetSuite, users may encounter two fields under the Item sublist of the Sales Order: createpo and createdpo. These fields, listed in the SuiteScript Records Browser for Sales Order, appear similar in syntax but serve distinct purposes. This article clarifies the differences between these two… Continue reading Difference between createpo and createdpo on Advanced PDF/HTML Template of Picking Ticket

Removing CRLF (End of Line) Character

When working with templates, you may want to control the presence of end-of-line (CRLF) characters in your output. Typically, placing output tags on separate lines introduces line breaks. To remove the CRLF character at the end, use the FreeMarker tag <#rt> directly after your content:  Template:  #OUTPUT START # ABC #OUTPUT END # Output :  With this adjustment, the… Continue reading Removing CRLF (End of Line) Character

Resolving the ?upper_case Issue in Advanced PDF Templates

Advanced PDF templates often rely on FreeMarker expressions to dynamically format and display data. One common challenge developers face is ensuring that address fields or other dynamic content are properly transformed to uppercase while preserving special characters and XML compatibility. This article explores the issue with the ?upper_case directive and presents a robust solution The… Continue reading Resolving the ?upper_case Issue in Advanced PDF Templates

Show Amount Due for Each Invoice on a Customer Statement Using Advanced PDF/HTML Template

Scenario The user needs to display the Amount Due for each Invoice on a Customer Statement printed with the Advanced PDF/HTML Template. Solution   Navigate to Customization > Forms > Advanced PDF/HTML Templates Preferred Custom Statement PDF/HTML Template: Click Edit Top right corner: Toggle Source Code  Look for the line of code that contains class=”itemtable” Within the <thead> tag, insert the following code: <th align=”right”>Amount Due</th> Within… Continue reading Show Amount Due for Each Invoice on a Customer Statement Using Advanced PDF/HTML Template

Corner Radius vs. Border-Radius

Corner Radius (Design Term): “Corner radius” refers to the rounded curvature at the junction of two surfaces or edges. In traditional design disciplines such as industrial or graphic design, it’s a physical or visual descriptor used to soften corners. Border-Radius (CSS Property): In web development, border-radius is the CSS property used to apply this visual… Continue reading Corner Radius vs. Border-Radius

Advanced PDF Template |Multi-Page Item Description

Scenario To evaluate the current Sales Invoice rendering logic, specifically whether it’s controlled by Suitelet scripting or Advanced PDF/HTML templates and explore the feasibility of implementing a solution where long item descriptions automatically continue to the next page in the invoice PDF. The goal is to overcome the 500-character display limit and layout constraints without… Continue reading Advanced PDF Template |Multi-Page Item Description

Embedding a PDF in an Advanced PDF Template

Embedding a PDF in an Advanced PDF Template within NetSuite can enhance the customization of generated documents. This allows users to display or include external PDFs directly within their templates, streamlining the document creation process. Step 1: Upload the PDF to the File Cabinet Navigate to the file cabinet in NetSuite. Upload your PDF file. After… Continue reading Embedding a PDF in an Advanced PDF Template

Lock the Printed PDF and use a Custom Field to Store the Password on an Advanced PDF Template

Scenario User wants to create a password to be stored and hidden on the Purchase Order record for transaction PDFs using a Custom Transaction Body Field. Solution Create a Custom Transaction Body Field Navigate to Customization > Lists, Records, & Fields > Transaction Body Fields > New Label: Enter Label Example: PDF Password Type: Select Free-Form Text Store Value: Enter Checkmark Click Applies To Purchase: Enter Checkmark… Continue reading Lock the Printed PDF and use a Custom Field to Store the Password on an Advanced PDF Template