It is best to specify countries by name instead of country codes in CSV files. Country codes are used as countries’ NetSuite internal IDs and using them in a CSV file can result to errors. Before an import, replace any country codes with names. Note On the Field Mapping page of the Import Assistant, you… Continue reading Country Names for CSV Import
Author: Vishnu P
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
Custom segment and brand customization
For the item record copy-making process for the custom role of Demand Planning Coordinator. Despite inactivating the workflow, the Brand value continues to be set as “General.” We have also created items by making copies from different roles, but the Brand is not being updated. When we tested with the Administrator role the brand was… Continue reading Custom segment and brand customization
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
N/workflow Module
Member Type Name Return Type / Value Type Supported Script Types Description Method workflow.initiate(options) number Server scripts Initiates a workflow on-demand. This method is the programmatic equivalent of the Initiate Workflow Action action in SuiteFlow.Returns the internal ID of the workflow instance used to track the workflow against the record. workflow.trigger(options) number Server scripts Triggers a workflow… Continue reading N/workflow Module
Log Object functionalities
NetSuite loads the log Object by default for all script types. You do not need to load it manually. However, you can choose to load it using the N/log Module, for testing purposes. log Object Members log.debug(options) log.audit(options) log.emergency(options) log.error(options) log.debug(options) Method Description Logs a Debug message.Debug messages appear on the Execution tab only if the… Continue reading Log Object functionalities
New updates on suitescript record browser
Refer to the following sections for details on SuiteScript updates for NetSuite 2023.2: 2023.2 SuiteScript Records Browser N/crypto/random Module Alternative Character Encoding for Files in Suitelet Responses The 2023.2 SuiteScript Records Browser is not yet available. N/crypto/random Module The N/crypto/random Module provides cryptographically secure pseudorandom generator methods. This module provides the following methods: random.generateBytes(options) – Generates a cryptographically… Continue reading New updates on suitescript record browser
Change date format in NetSuite
You can change the company, subsidiary, and user settings to use a different date format than the default setting. You can select the formats to use when displaying abbreviated and full dates. The abbreviated date format appears on reports, forms, and data-entry pages. The long date format is used when forms or templates require a… Continue reading Change date format in NetSuite
SuiteQL in the N/query Module
SuiteQL is a query language based on the SQL-92 revision of the SQL database query language. It provides advanced query capabilities you can use to access your NetSuite records and data. In SuiteScript, you can create and run SuiteQL queries using the N/query module. Queries created using SuiteQL can be more powerful and flexible than… Continue reading SuiteQL in the N/query Module
Suite talk Rest API setup
Importing the Postman Collection To import the Postman collection: Download the REST web services Postman collection of sample requests from the SuiteTalk tools download page at https://<accountID>.app.netsuite.com/app/external/integration/integrationDownloadPage.nl. To access this page, you must substitute your account ID, and the REST web services permission must be assigned to your role. Unzip the archive. Click Import in… Continue reading Suite talk Rest API setup