Enabling the Advanced PDF/HTML Templates Feature

The Advanced PDF/HTML Templates feature must be enabled to use the Standard Journal Entry PDF/HTML Template for printing journal entries. To enable the Advanced PDF/HTML Templates feature: Go to Setup > Company > Setup Tasks > Enable Features. Click the SuiteCloud subtab. Under SuiteBuilder, check the Advanced PDF/HTML Templates box. If required, agree to the SuiteCloud Terms of Service, and… Continue reading Enabling the Advanced PDF/HTML Templates Feature

Resolve the “String “–” Is Not Permitted Within Comments” When Using Advanced PDF Template

The error “The template cannot be printed due to the following errors:  The string “–” is not permitted within comments” is usually encountered if an Advanced PDF Template is being used as a printing type of the transaction. It is a reserved character and it is being considered as part of the source code on… Continue reading Resolve the “String “–” Is Not Permitted Within Comments” When Using Advanced PDF Template

Creating Custom Wave Criteria Templates

Wave criteria templates define the orders you want to include in wave transactions. You can customize the default search template by predefining the standard filtering criteria or adding more filters to suit your wave requirements. You can also add columns to the order search results that appear on wave transactions. Read the following guidelines for… Continue reading Creating Custom Wave Criteria Templates

Print All Unique Tax Rate Values Shown in Item Lines in One Field in Advanced PDF/HTML Template

User wants to print all unique Tax Rate values used for each item in Item Table in one field in their customized Advanced PDF/HTML Template. The provided snippet may be inserted in the Summary section of the template. This solution is applicable when Tax Rate is used as transaction line field in Item Lines and… Continue reading Print All Unique Tax Rate Values Shown in Item Lines in One Field in Advanced PDF/HTML Template

Add search query as the data source to a template

We can pass search query as a data source to a template instead of a single record data.Use the function TemplateRenderer.addQuery(options) for this. This is a part of the N/render module and is available for all server scripts(of the 2.x version).The parameters require are: ‘options.id’ of string type which stores the id of search if… Continue reading Add search query as the data source to a template

Add custom values as the data sources to a template

We can pass custom objects, and XML values as data sources to a template instead of a single record data.Use the function TemplateRenderer.addCustomDataSource(options) for this. This is a part of the N/render module and is available for all server scripts(of the 2.x version).The parameters require are: ‘options.alias’ of string type which stores alias for the… Continue reading Add custom values as the data sources to a template