NetSuite Pricing Hierarchy (Order of Precedence)

In NetSuite, item pricing for a customer is determined based on a hierarchy of pricing options. When multiple pricing rules exist (such as Group Pricing, Item Pricing, and Price Levels), NetSuite uses a specific priority order to determine the final price assigned to a customer. Here’s the pricing hierarchy NetSuite follows, from highest to lowest… Continue reading NetSuite Pricing Hierarchy (Order of Precedence)

How to encode a text to Base 64

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

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