Creating a Template for the Country-Specific Reports SuiteApp

Every report created using the Country-Specific Reports SuiteApp is based on an HTML/XML template.

Note:

We recommend to create the template file in a HTML/XML editor and to upload to the NetSuite File Cabinet (Documents > Files > File Cabinet). For more information about uploading files to File Cabinet, see Uploading Files to the File Cabinet.

Every template should be created over the following structure:

          <table class="csr-about">
    <tr>
        <td>
            <h2 class="csr-title">${VAR.report_title.name}</h2>
            <!-- Other report info comes here -->
        </td>
    </tr>
</table>
 
<div class="csr-content">
    <table class="csr-data">
        <!-- Reported data comes here -->
    </table>
</div> 

        
Note:

You don’t have to include the <body> tag.

In case you need to specify maximal width of the report (for example, in case of an income statement), do it manually by wrapping the code into the div with custom style. Default max width of whole report container is 1400px:

          <div style="max-width: 1000px;">  
 
    <table class="csr-about">
        <tr>
            <td>
                <h2 class="csr-title">${VAR.report_title.name}</h2>
                <!-- Other report info comes here -->
            </td>
        </tr>
    </table>
 
    <div class="csr-content">
        <table class="csr-data">
            <!-- Reported data comes here -->
        </table>
    </div>
     
</div> 

        

The following chapters contain the set of instructions for proper formatting of your report template. Read the following topics to learn how to add and adjust individual elements of your report template:

Related Topics

Country-Specific Reports Overview
Enabling Required Features the Country-Specific Reports SuiteApp
Installing the Country-Specific Reports SuiteApp
Adding NetSuite Data to the Template File
Using the Country-Specific Reports SuiteApp
Adding and Editing Report Elements
Working with Reports
Roles and Permissions

General Notices