The requirement was to show abbreviated values for the shipping item label values sourced from the NetSuite side in a React JS web application. For this, I created a map object and stored the original names and abbreviations as key-value pairs. Used a map function to replace the values in the data object before rendering.… Continue reading How to use a mapping object to replace values in a data array of objects
Month: November 2023
Email communication is not present in transactions for a custom role.
For a custom role, the Email icon is not shown in any transaction record. To enable this, we need to enable Track messages in the Lists subtab of the custom role record.
The NetSuite Intercompany Framework Feature
Introduction The NetSuite Intercompany Framework feature allows you to manage intercompany workflows. Primarily, this feature manages intercompany cross charges and intercompany netting. NetSuite Intercompany Framework Overview So how does the Intercompany Framework feature work? Let’s take a look! Intercompany Cross Charges and Intercompany Netting When the NetSuite Intercompany Framework feature has been enabled, you will… Continue reading The NetSuite Intercompany Framework Feature
Script to create custom record as a table in View context.
How to fetch saved search data with the title
Recently, I worked on a single-page application(SPA) for rendering saved search data from NetSuite. The client wanted to reuse the application for multiple saved searches. So, the app was designed with a search internal ID as a URL parameter and the data was fetched using the ID. However, the client also wanted to show the… Continue reading How to fetch saved search data with the title
Cannot add filters or columns in the Print Transactions
When trying to add filters or columns on the Print transactions page, NetSuite throws an error. To add those, we need to add the permission of Find Transaction in the Transactions subtab of the custom role.
Remove a select option from certain types of select and multiselect fields.
Field.removeSelectOption(options) Method Description Removes a select option from certain types of select and multiselect fields.This method is usable only in select fields that were added by a front-end Suitelet or beforeLoad user event script. The IDs for these fields always have a prefix of custpage. Returns void Supported Script Types Client scriptsFor more information, see SuiteScript 2.x… Continue reading Remove a select option from certain types of select and multiselect fields.
Skipped Actions in a workflow.
When SuiteFlow skips an action, the action may not be supported for the server trigger on which the workflow entered the state. The following screenshot shows a record that entered a state on a Before Record Load trigger and consequently, the Send Email action was skipped: You can view the options for the Send Email… Continue reading Skipped Actions in a workflow.
CSV Import Process with Server SuiteScripts and User Event Scripts in NetSuite
To activate the script during CSV import, it has been clarified that the checkbox RUN SERVER SUITESCRIPT AND TRIGGER WORKFLOWS must be checked for recognition. When we check the option “RUN SERVER SUITESCRIPT AND TRIGGER WORKFLOWS” during a CSV import in NetSuite, the process typically follows these steps: Reading and Processing CSV Data: NetSuite reads… Continue reading CSV Import Process with Server SuiteScripts and User Event Scripts in NetSuite
Points to be noted before deploying Workflow using SDF
We have different methods to deploy a workflow from sandbox to production. The methods can be manual creation, Suite Bundler, Copy to account or SDF method. While deploying a workflow to production, keep note of the following points. If the workflow has dependency fields that are created on the sandbox and not yet in the… Continue reading Points to be noted before deploying Workflow using SDF