Create Item Location Configuration record
Category: SuiteScript Functions
SuiteScript Functions related articles will be posted in this category
Remove duplicate image direct from the website using JQuery fn
We can remove the duplicate image from the website by using this function . We find image with their source in the website so if we want to delete it we can make a if condition there so that it will take only one different source files. Using Jquery fn : <script> $(document).ready(function() { var… Continue reading Remove duplicate image direct from the website using JQuery fn
Extract xls file to Json
For implementing the function, need to implement excel js library function /** * file Extract function * @param {Number} fileId internal ID * @return {Object} returnDate Json Object */ function extractFileToJSON(fileId) { try { let returnData = []; let excelFile = file.load({ id: fileId }); let workbook = XLSX.read(excelFile.getContents(), {type: ‘base64’}); let firstSheetName = workbook.SheetNames[0];… Continue reading Extract xls file to Json
Script to create BOM revision
Script to create BOM revision
Multiple item names in item search criteria
Function /** * @description Multiple item names can be included in a single search limit is 1000 names per search via suitescript. * @param {Array} itemNameArray Array of item names (1000 item names) * @return {Object} */ function itemSearchforVendorUpdate(itemNameArray) { try { var b = “”; if (itemNameArray.length > 0) { for (var i =… Continue reading Multiple item names in item search criteria
Remove Standard Leave Site Popup in Suitelet forms
Jira Code : 552 Description The custom form created using Suitelet script will show the Standard Leave Site Popups while we navigate away. We can also remove this popup by using the following code. We can add the following code in the page Init entry point of the Client script which is associated with the… Continue reading Remove Standard Leave Site Popup in Suitelet forms
How to get sublist data in suitelet using request parameter?
JIRA CODE : BGGN-551 Description The following code explains how to get the sublist values added in the custom suitelet page in the POST method Solution
Call Suitelet from Workflow and set Values.
Call Suitelet from Workflow and set Values.
Script to create BOM
Script to create BOM