NetSuite provides a standard encode module that can be used to encode a value or text to base 64. Example: Creation of basic authentication string in API call // Replace these with your actual username and password var username = ‘your_username’; var password = ‘your_password’; // Create the basic auth string var authString = username… Continue reading How to encode a text to Base 64
Author: Gloria George C
PIM Akeneo Integration API Authorization
For PIM version v4 or newer, we can follow the below steps: Log into your favorite PIM. Depending on the version you use, go to the System/Connections menu (before the v6) or the Connect/Connection settings menu. Click on Create. Input a label for your connection, ERP for example. Select a type flow. Click on Save. The Client Id , secret, user name and… Continue reading PIM Akeneo Integration API Authorization
Proposal For the Update in the Sales Web App
This proposal covers the scope of the new changes in the sales web application. This proposal also covers the engagement scope of Jobin & Jismi, as official implementation partner of Oracle NetSuite. This proposal is based on our discussions, anticipation, and understanding through our meetings and other communications. Any requirements/updates during the development will be… Continue reading Proposal For the Update in the Sales Web App
How to disable a sublist field in a LIST type sublist in Suitelet
In a LIST type sublist, the field can either be an entry or an inline type field. Using the updateDisplayType function, we cannot set the field as disabled; even if we do, it will display as an inline field. We can disable this sublist field using jQuery in the client script. There are two options… Continue reading How to disable a sublist field in a LIST type sublist in Suitelet
How to get Exchange rate between two currencies for a certain date
We can utilize the currency module to get the exchange rate between two currencies on a specific date. The following example illustrates the conversion from the Canadian dollar to the US dollar. var canadianAmount = 100; var rate = currency.exchangeRate({ source: ‘CAD’, target: ‘USD’, date: new Date(‘7/28/2015’) }); var usdAmount = canadianAmount * rate;
Comparison between forceSyncSourcing, ignoreFieldChange and fireSlavingSync
In NetSuite Client Scripts, the parameters forceSyncSourcing, ignoreFieldChange, and fireSlavingSync are used to control field behavior during script execution. Here’s a detailed explanation of each, along with an example: 1. forceSyncSourcing Description: This parameter forces NetSuite to source fields synchronously. When set to true, it ensures that any sourcing or field change events that would… Continue reading Comparison between forceSyncSourcing, ignoreFieldChange and fireSlavingSync
Use of fireSlavingSync in client script
The fireSlavingSync function in a NetSuite client script is used to trigger the re-calculation of dependent fields when a field changes. This is particularly useful in ensuring that any fields that are dependent on the value of another field are updated immediately when that field’s value is changed. By default fireSlavingSync is set to false.… Continue reading Use of fireSlavingSync in client script
How to get the Record Object of the parent window in client script
var opener = window.opener if (opener) { // import currentRecord module into context opener.require([‘N/currentRecord’]); // load module and assign to a variable var rec = opener.require(‘N/currentRecord’); … Continue reading How to get the Record Object of the parent window in client script
Proposal for Opportunity Creation Through external Page Provided for Customer
Proposal Summary This proposal aims to develop a customized solution to automate opportunity creation through an External Page, tailored to the specific needs of the client. The solution will involve capturing submissions from customers and processing them to create opportunity records seamlessly. Requirement The client seeks to overhaul their existing order processing system by developing… Continue reading Proposal for Opportunity Creation Through external Page Provided for Customer
How to open a Modal on Suitelet page or NetSuite Record
A modal is a dialog box/popup window that is displayed on top of the current page. In NetSuite, we can open a Modal using “nlExtOpenWindow”. window.newPopUp = nlExtOpenWindow(pathUrl, windoName, windoWidth, WindowHeight, {}) Here Path URL can be suitlet URL. The page inside the window can be designed in the Suiteet page.