SUITEBUILDER Flashcards
When creating an advanced PDF via a script, what are our two options?
We can user BFO:
Populates the XML with values in script
Can use freemarker to include NetSuite data
We can use the N/render module
What is the N/render module used for?
Used for printing, PDF creation, form creation from templates, and email creation from templates
Can also load an Advanced PDF as well as add standard and custom data sources to the PDF.
What are the 3 standard data sources that the N/render module allows us to add to a PDF?
Records
Search results
Query results
What are the 2 custom data sources that the N/render module allows us to add to a PDF?
XML
JSON objects
True or False?
The N/render module can both print the PDF and display it on a webpage and return the PDF as a server response
True
True or False?
We can change language and translation based on locale using freemarker
True
True or False?
The format of dates, numbers, and currency is unaffected by locale
False.
The format of dates, numbers, and currency can be affected by locale:
If the locale is France, then a currency amount for EUR will be displayed like this: “€1 000,00”. If the locale is Ireland then that amount will be displayed like this: “€1,000.00”
Name 4 Company Preferences that can be used to impact Advanced PDF’s
– Customers Default to Print Transactions
– Vendors Default to Print Transactions
– Print Transaction Forms Landscape
– Print Return Form with Packing Slip
– Print Remittance Form with Invoices and Statements
– Print Separate Voucher for Bill Payments
– Print Accounts on Vouchers
– Print Discount and Shipping Lines on Columns
– Use Location Address on Forms
– Check Printing — Default Check Type (Standard or Voucher)
If you wish to format values that you do not wish to be affected by locale or preferences, what should you use?
Freemarker
We can use freemarker to override the user’s locale with a hardcoded locale in a PDF.
What does the following code snippet do?
<#setting number_format=”number”>
Sets number format to be US format
What does the following freemarker code snippet do?
<#setting locale=”en_US”>
Sets locale to US
What does the “<#setting>” tag in freemarker allow you to change?
The format of data types for all fields of that data type in the PDF
What does the following freemarker code snippet do?
nsformat_DATA TYPE
It forces the use of default NetSuite formatting on user defined data or hardcoded variables, taking User Preferences into consideration
What do SuiteGL features allows you to do?
Allows you to customise General Ledger processes
SuiteGL includes 3 distinct features, what are they?
Custom GL Lines Plug-in
Custom Transactions
Custom Segments
SuiteGL provides 3 significant processes that can be performed, what are they?
Custom GL Lines Plug-in; allowing the creation of custom GL impact lines on STANDARD transactions
Custom Transactions: Like standard transactions, but custom. We can define how they impact the GL
Custom Segments: Custom classification fields similar to classes, departments and locations
When creating a record via script, what is the default form that will be used? How would you changed it?
The preferred form, and it can be changed by defining the form in the script while creating the record in the script.