To generate the Host Key in base64 form, run the following command using Git bash to scan the ssh public key in base64 format: ssh-keyscan -t <host key algorithm type> -p <port number> <host name> Example: Here we are using the rsa algorithm and SFTP port number 22. In this example, in the place of… Continue reading SFTP Token Host Key Generation
Author: Gloria George C
How to make a field Focused on Netsuite
Through client script, we can make one field focused. What is making field focused? We will set the cursor on that field by default when the page is loaded. Code that can be used to set the field as a focused field document.getElementById(“custpage_barcodeid”).focus(); Use the NetSuite field id in this code to make it as… Continue reading How to make a field Focused on Netsuite
Git Commit: File name Too long error
When git commit is doing through the Git dektop application in windows operator an error is showing saying “Filename too long”. How to resolve the issue? Open the command prompt as “Run as Administrator”. Enter the command, git config –global core.longpaths true Note: If git is not already installed in the system, download the git… Continue reading Git Commit: File name Too long error
How to pass an array as a parameter to Suitelet
We can’t pass an array through the URL as parameters. So, you can use the following approach to overcome this problem. When adding parameter in URL: When retrieving the parameters from the URL: Use cases: When using suitelet page with multi select field as a filter option. In this case when reloading the page with… Continue reading How to pass an array as a parameter to Suitelet
“isProduction” Function Without Using “config” Module
This isProduction function will check whether the account Environment is production or not. It will return true if it is production.
WMS Button Action
You can set up mobile actions for events associated with page or page elements. Both pages and page elements have on load events. Button, icon, and table elements have additional events for clicking or tapping. Field elements have events for selection, scanning, and validation. The action types available for events on page and page elements… Continue reading WMS Button Action
The value can’t be set in the Edit context In Beforeload
When a record is in edit mode, the user event script can’t set value in any fields in beforeload entry point. But we can set value in create context, using user event script in beforeload entry point. This restriction only exists in beforeload entry point. In beforeSubmit entry point, we can use setValue to set… Continue reading The value can’t be set in the Edit context In Beforeload
What All Transactions Make Available Quantity Change
In there is a list of transactions that could impact the available quantity of an item. The following are the list of transaction that could affect the Available Quantity of an item. Sales order Item fulfillment Cash Sale Invoice Cash refund Credit memo Item Receipt Vendor Bill Vendor credit Inventory Adjustment Inventory Worksheet Inventory Transfer… Continue reading What All Transactions Make Available Quantity Change
In the CSV context script can’t get Custom sublist
If a user event script is deployed for a record, it can’t fetch the custom sublist if the context is CSV import. But it will work in other contexts. If it is aftersubmit, the solution that we can use is to load the record, instead of using newRecord from the script context. Also, we can… Continue reading In the CSV context script can’t get Custom sublist
How to append an existing PDF to a PDF template
When we need to add a static PDF page in a PDF template. The user can create the static PDF file separately and can append it to the PDF template. This can be achieved by <pdfset>. <pdfset><pdf><!— Enter the PDF template here–></pdf><pdf src=”${url}” /> </pdfset> Here the url is the PDF file url.