How To Create A PDF By Clicking A Button Using Suitescript
First, I will add a button in ‘BeforeLoad’ event of ‘user-event script’. Here, nlapiResolveURL(type, identifier, id, displayMode) API is used to create a URL on-the-fly by passing URL parameters from within SuiteScript. nlobjForm.addButton(name, label, script) is used to create a button. nlapiLogExecution(type, title, details) logs an entry in the script Execution Log subtab, which appears on the Script Deployment page.…
read more