Integrating Google recaptcha V2 to an HTML form

Sign up and get your keys here: https://www.google.com/recaptcha/admin (you will get a SITE key and a SECRET key, used later) The following instructions are for integrating recaptcha v2, there is another version also recaptcha V3. While sign up, need to mention the domains and mail id using for this purpose. The recaptcha will only work on the… Continue reading Integrating Google recaptcha V2 to an HTML form

Proposal For SCA Canada Post shipping integration into NetSuite

Proposal summary The proposal covers the SCA Canada Post shipping integration into NetSuite Requirement A proposal/SOW for Canada Post shipping integration into NetSuite. The integration to pull rates to the sales order as well as the SuiteCommerce website for customers to see during the checkout process. We can split the requirements into the following Fetch… Continue reading Proposal For SCA Canada Post shipping integration into NetSuite

Proposal For NetSuite Shopify Integration

Proposal summary We need to provide specifications for connecting Shopify to Netsuite. Requirement We would like to implement the following connections to API Add orders from Shopify under a single customer in NetSuite Import Orders from Shopify to NetSuite. Export Fulfillments from NetSuite to Shopify Export Inventory Levels from NetSuite to Shopify Export Item Pricing… Continue reading Proposal For NetSuite Shopify Integration

Script to get the preferred bin and set to a custom column

This script reads and sets the preferred bin to custom column Bin# for the deployed transactions /** *@NApiVersion 2.1 *@NScriptType UserEventScript */ /*** * FLTW-68 Bin Population script Optimization */ define([‘N/record’, ‘N/search’], function (record, search) { function afterSubmit(context) { try { if (context.type !== context.UserEventType.CREATE && context.type !== context.UserEventType.EDIT) // works for create and edit… Continue reading Script to get the preferred bin and set to a custom column

Read value from a JSON Array by referring to another Key’s value JavaScript

Suppose we have an JSON array as below. var details = [ {“name”:x,”email”:”test@gmail.com}, {“name”:y,”email”:”test1@gmail.com}, ] To get Y’s email id use the below function function findElement(arrayName, nameValue) { for (var i = 0; i < arr.length; i++) if (arr[i][“name”] == propValue) return arr[i][“email”]; // will return undefined if not found; you could return a default… Continue reading Read value from a JSON Array by referring to another Key’s value JavaScript

Issue in setting a custom field value automatically using client script (field changed) during the inventory item creation.

In inventory item creation , when selecting a parent item (sub item of) i need to set the value of some custom fields in child similar to its parent item, like category type and attribute types. I have used field changed event in client script to automatically set the values corresponding to its parent item.… Continue reading Issue in setting a custom field value automatically using client script (field changed) during the inventory item creation.

Storing Item Receipt number in Bill and Bill number in Item Receipt

Requirement There is a bill button on the IR record and if the user clicks the bill button from the IR record, the IR number should populate to the custom field in the bill record. And once the user saves the bill, the corresponding bill number need to be stored in a custom field in… Continue reading Storing Item Receipt number in Bill and Bill number in Item Receipt