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

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