Resolve Error: “getaddrinfo ENOTFOUND xxxxxx_sb1.restlets.api.netsuite.com” when Fetching Theme and Extension files in Sandbox

Solution In the Theme or Extensions Development Tools directory, open this file: …/ns_npm_repository/oauth1/index.js Find the following line of code: return this._baseStep(`${this.vm ? ” : account}${this.urls.step3}`, params); Replace it with the following line of code: return this._baseStep(`${this.vm ? ” : account.replace(‘_’,’-‘)}${this.urls.step3}`, params); In the Theme or Extensions Development Tools directory, open this file: …/gulp/ns-deploy/net.js Find the… Continue reading Resolve Error: “getaddrinfo ENOTFOUND xxxxxx_sb1.restlets.api.netsuite.com” when Fetching Theme and Extension files in Sandbox

Setup connection between HubSpot & NetSuite

//info: VCPL-15 Initially, you have to create an account in Hubspot.Then, Install Netsuite from App Marketplace. Make sure that you enable Soap web services, REST web services, Token-based authentication, Server Suitescript in NS Enable features section. Install HubSpot Sync Bundle from Customization > SuiteBundler > Search & Install Bundles. Assign HubSpot Sync role from  Lists > Employees > Employees > Search Role >… Continue reading Setup connection between HubSpot & NetSuite

Results without Summary type Column in Search

Use the below formula to show the summary value without grouping the search results. count /*comment*/ ({memberitem.internalid}) over (partition by {internalid}) For Example:::Search Type: ItemItem Type: Kit/ PackageResults: Show the count of member items and member item quantity without using the summary type column under the Results subtab Output: Script Code: var kititemSearchObj = search.create({​​type:… Continue reading Results without Summary type Column in Search

Calculating Minimum Purchase Quantity(MPQ) For Single Item Receipt.

Let us assume we are creating IR from PO’s: So, PO Quantity=100 MPQ=13 so now, So PO (Quantity/MPQ) = Temporary Quantity Now we will use Math.ceil(Temporary Quantity)=> Some Multiple So MPQ x Some Multiple = Required quantity to be Received. For example:- Let PO Quantity = 100, MPQ = 13 Now, By our formula =>… Continue reading Calculating Minimum Purchase Quantity(MPQ) For Single Item Receipt.

Web Site Language Preferences

 Languages subtab to allow customers to view the site in different languages,Before setting language preferences, need to select the languages available on the site, and add translations for item record information. To select the languages available for your web site: Go to Commerce > Websites > Website List. Click Edit next to a website. Use the Language subtab to set… Continue reading Web Site Language Preferences