Indian Rupee symbol in advanced pdf template

When missing any symbol from the advanced PDF template, we need to check the fonts established in the PDF. If it’s a standard NetSuite font then the symbols will work. In the case of Chinese font, we need to import new fonts by using TTF file uploading. So we require fonts that support the indian… Continue reading Indian Rupee symbol in advanced pdf template

Adding Translated Content in Advanced Printouts

nstranslation.load – loads strings for specific keys of specific collections for specific locales. The locales parameter is optional. If not defined, the current locale from FreeMarker is used.In the example that follows, strings with the keys GREETINGS and INTERVAL_1_TO_2 load from the custcollection_testcol collection for the cs_CZ and en_US locales. The translation for cs_CZ contains “Ahoj” and translation for en_US contains “Hello” “collections”:[{“alias”: “myAlias”,“collection”: “custcollection_testcol”,“keys”:… Continue reading Adding Translated Content in Advanced Printouts

Function in XML

Creates a method variable. This directive works in the same way as the macro directive, except that return the directive must have a parameter that specifies the return value of the method, and that attempts to write to the output will be ignored. If the </#function> is reached (i.e. there was no return returnValue), then the return value of the method is an… Continue reading Function in XML

Add URL for a Terms and Conditions Document on Transaction Printouts

1. Create a Terms and Conditions like a PDF  or a Word document.2. Upload the Terms and Conditions  file to the File Cabinet.3. Navigate to Documents > File > File Cabinet > Find a folder to save the file.4. Click Add File.5. When the file is uploaded, edit and mark Available Without Login.6. Copy the URL.7. Click Save.8. Navigate to Customization > Lists, Records, & Fields > Transaction Body Field > New. Select Hyperlink… Continue reading Add URL for a Terms and Conditions Document on Transaction Printouts

Netsuite Advanced PDF: Get the index of item line

In NetSuite Advanced HTML/PDF templates, we can use the _index method to get the index of an item in a table. Here’s an example that demonstrates how to use this method: In this example, record.item is an array of objects representing rows in a table. The _index method is used to get the index of… Continue reading Netsuite Advanced PDF: Get the index of item line