How to use a mapping object to replace values in a data array of objects

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

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

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

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.

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