N/query Module

The query module is like a saved search in NetSuite.  N/query module to create and run queries using the Suite Analytics Workbook query engine.  Using the query module, we can:  Use multilevel joins to create queries using field data from multiple record types.  Create conditions (filters) using AND, OR, and NOT logic, as well as… Continue reading N/query Module

Show alert message in Suitelet POST

/** * * @param scriptContext */ function alertMesage(scriptContext){ var html = ‘<script> alert(“The quantity should be greater than Zero”);window.close() </script>’; scriptContext.response.write(html) } The alert message will show and on clicking ok will close the whole suitelet page