Using this function in the NetSuite script this will show after the page completes loading or when the form is reset, we can set the values as default after the page reload also in NetSuite.
Tag: pageinit
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
Un expected Error:
Some times an Un expected console error may occur in client script when we try to use console.log() method in the pageInit . In order to remove this types of errors avoid using the console.log(). Instead of this we can use log.debug() in pageInit
Set Invoice Tracking Number and Shipping Cost.
To populate values using client script pageinit function.