First, login to the DocuSign Account or any account. Then Create an APP and Integration key. It depends on the API you have used. We can directly get the access token. Otherwise, here we showed the steps to create an access token for DocuSign Integration. Using the API and integration key, get the access permissions.… Continue reading How to get access token of Third-Party APIs(DocuSign) using POSTMAN
Author: Shanmugapriya Ganesh
How to Use multiple conditions in search filters
Here, we have used the search criteria’s summary function to meet the requirements. The requirement is “send email to customer if “Appliance only” product is not scheduled for delivery with status A, B, C or O is committed to an sales order for 7 days. Or S status item committed to an sales order for… Continue reading How to Use multiple conditions in search filters
How to filter the search results using filter function
Create a search to fetch the customers who gave Feedback Response First get the search using search.create. Here we removed the customers who gave more than one response from the search results. // Get the search results const searchResults = customrecord_sf_responseSearchObj.run().getRange({ start: 0, end: 1000 }); //… Continue reading How to filter the search results using filter function
How to set landed cost at line level in item receipt
First we need to enable the ‘landed cost per line’ then set the value using script. let newRec = scriptContext.newRecord; let landedCostField = newRec.getSublistSubrecord({ sublistId: ‘item’, … Continue reading How to set landed cost at line level in item receipt
Why the record page got struck when we validate a field in fieldChanged function?
Here the sample code to check whether the opportunity name already exists, if it exist then it will show an error. However, if you are not added return values, then it struck in the same field and page also not support to enter the next fields. function fieldChanged(scriptContext) { try { … Continue reading Why the record page got struck when we validate a field in fieldChanged function?
How to get the button id from the contacts record.
First go to the contact record page. Then right click and select Inspect(Ctrl_shift+i). Go to the elements and select search (Ctrl+f) Then type the button name for example(New Task) then it will redirect to the that word. View the id of the button.
Create opportunity record using make a copy option by suitescript
To make a copy of a record using suitescript, use the following code. let objRecord = record.copy({ type: ‘opportunity’, id: ‘internal id of the record’, … Continue reading Create opportunity record using make a copy option by suitescript
The Priority of Item pricing population in Sales order
In NetSuite, the priority for item pricing population from the client record is as follows: Line-level item pricing takes precedence and has the highest priority. If line-level item pricing is not available, then the group pricing will be populated. If neither line-level item pricing nor group pricing are available, the body level price level will… Continue reading The Priority of Item pricing population in Sales order
Create email template in the script.
function mergeTemplate(recordId, tranId, pdfFile, totalAmount, department) { try { let senderId = 4; let recipient=5; let approveURL = ‘https://4449540-sb1.extforms.netsuite.com/app/site/hosting/scriptlet.nl?script=1020&deploy=1&compid=4449540_SB1&h=c9cbe8c1bd3b61843636’ + ‘&po_id=’ + recordId + ‘&btn=true’; … Continue reading Create email template in the script.
Update landed cost in item receipt based on CSV data using Map/Reduce Script.
The csv file should like shown as below. The following code is given in getInputData(). The internal id of the csv file is given as id in file.load. let file1 = file.load({id: 1116983}); let fileContents = file1.getContents(); log.debug(“contents”,fileContents) … Continue reading Update landed cost in item receipt based on CSV data using Map/Reduce Script.