The client needs to delete inactive Open Box Log Records In the NetSuite production instance. /** * @NApiVersion 2.1 * @NScriptType MapReduceScript */ define([‘N/record’, ‘N/search’], /** * @param{record} record * @param{search} search */ (record, search) => { /** * Defines the function that… Continue reading Deleting Inactive Open Box Log Records
Author: Athul Krishna
Matrix Item Import Tips
When you select matrix options for a parent in the NetSuite user interface, child matrix items are created automatically. The CSV import process is different. Each parent matrix item and each child matrix item must be added or updated individually, and the CSV file should include a separate line for each parent matrix item and… Continue reading Matrix Item Import Tips
Generating Access Token For Sales Force In Scheduled Method
/** * @NApiVersion 2.1 * @NScriptType MapReduceScript */ /************************************************************************************************ * * Map/Reduce Script For Sending SO Details to Delivery Dispatcher ** * * * ********************************************************************************************** * * Author: Jobin and Jismi IT Services * * Date Created : 26-August-2022 * * Created By: Athul Krishna, Jobin and Jismi IT Services * * Description : Map/Reduce… Continue reading Generating Access Token For Sales Force In Scheduled Method
How to Create Integration with OAuth 2.0
NetSuite supports OAuth 2.0, a robust authorization framework. OAuth 2.0 enables client applications to use a token to access NetSuite through REST web services, RESTlets, and SuiteAnalytics Connect. The application accesses the protected resources on behalf of a user who gave an explicit permission for the access. This method eliminates the need for integrations to… Continue reading How to Create Integration with OAuth 2.0
Resend Scheduler URL Link To Customer
The client is required to resend the delivery scheduling link to the customer as a reminder email. It needs to be sent if the customer is not scheduled the Order, need to be sent the email after every 48 hours. /** * @NApiVersion 2.1 * @NScriptType MapReduceScript */ define([‘N/email’, ‘N/record’, ‘N/search’,’N/url’,’N/encode’,], /** *… Continue reading Resend Scheduler URL Link To Customer
Pre-requisites to Setup SOAP and REST Web Services
What are SOAP and REST and what are they used for? According to SuiteAnswers, The SOAP web services platform provides programmatic access to your NetSuite data and business processes through an XML-based application programming interface (API). Meanwhile, The NetSuite REST web services provide an integration channel that extends the capabilities of SuiteTalk. REST web services… Continue reading Pre-requisites to Setup SOAP and REST Web Services
How to create a header using TBA in SOAP Web Services?
The XML-based application programming interface (API) of the SOAP web services platform enables you to programmatically access your NetSuite data and business processes. Using SOAP web services, you need to have a header element that offers a flexible framework for specifying additional application-level requirements. Scenario: User wants to use a SOAP Web Services but doesn’t… Continue reading How to create a header using TBA in SOAP Web Services?
Creating Secure URL using Ciphering
Sample script const xorCipher = (text, key) => { let result = ”; for (let i = 0; i < text.length; i++) { … Continue reading Creating Secure URL using Ciphering
Creating Virual Sublist using suitescript
Creating a sublist using user event script. let customTab= scriptContext.form.addTab({ id: ‘custpage_resource_tab’, label: ‘Resource Availablity’ }); let sublist = scriptContext.form.addSublist({ id: ‘custpage_my_sublist’, label: ‘My Sublist Label’, type: serverWidget.SublistType.STATICLIST, tab: ‘custpage_resource_tab’ }); // Add fields to the sublist sublist.addField({ id: ‘custpage_resource’, label: ‘RESOURCE’, type: serverWidget.FieldType.TEXT }); sublist.addField({ id: ‘custpage_skill’, label: ‘SKILL (Skill Level)’, type: serverWidget.FieldType.TEXTAREA });… Continue reading Creating Virual Sublist using suitescript
PDF template to Print Item Details of Back Ordered Items In a Sales Order.
Advances PDF template to print back-ordered Item details only. <?xml version=”1.0″?><!DOCTYPE pdf PUBLIC “-//big.faceless.org//report” “report-1.1.dtd”> <pdf> <head> <link name=”NotoSans” type=”font” subtype=”truetype” src=”${nsfont.NotoSans_Regular}” src-bold=”${nsfont.NotoSans_Bold}” src-italic=”${nsfont.NotoSans_Italic}” src-bolditalic=”${nsfont.NotoSans_BoldItalic}” bytes=”2″ /> <#if .locale == “zh_CN”> <link name=”NotoSansCJKsc” type=”font” subtype=”opentype” src=”${nsfont.NotoSansCJKsc_Regular}” src-bold=”${nsfont.NotoSansCJKsc_Bold}” bytes=”2″ /> <#elseif .locale == “zh_TW”> <link name=”NotoSansCJKtc” type=”font” subtype=”opentype” src=”${nsfont.NotoSansCJKtc_Regular}” src-bold=”${nsfont.NotoSansCJKtc_Bold}” bytes=”2″ /> <#elseif .locale == “ja_JP”>… Continue reading PDF template to Print Item Details of Back Ordered Items In a Sales Order.