Strict GS1-128 compliance barcode in Advance PDF Template

In the NetSuite advanced PDF template, barcode type GS1-128 is not supported in the <barcode> tag. However, we can usually achieve it by setting the codetype “code128” and setting the value according to the GS1-128 format. But if the GS1-128 barcode we need to create needs a Group separator, we wouldn’t be able to create… Continue reading Strict GS1-128 compliance barcode in Advance PDF Template

Barcodes in Advanced PDF Templates

In the Advanced Template Editor, edit the HTML markup source and use the BFO tag <barcode /> to create a custom bar code. To add a custom bar code to an advanced template: Open the advanced template in the template editor and click the Source Code toggle. Scroll down to the portion of the HTML markup source… Continue reading Barcodes in Advanced PDF Templates

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