Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Module Does Not Exist error when calling a Restlet
I created a Restlet. Very simple Hello World.js
/**
*@NApiVersion 2.x
*@NModuleScope Public
*@NScriptType Restlet
*/
define([],function() { // NetSuite's AMD pattern
function onRequest_entry(context) { // Suitelet entry function receives a context obj
context.response.write('Hello World'); // Write a response using the context obj
}
return {
get: onRequest_entry // Function assigned to entry point
};
});
I went into Customizations, uploaded the script (I saved it into the SuiteScripts Folder), and deployed it following the info in the help center.
I then called it from Postman using the URL indicated in the Deployment record, and I get the following Error returned:
Status 400 Bad Request