netsuite
SS2.0 Suitelet Hello World
수색…
기본 Hello World Suitelet - 일반 텍스트 응답
/**
*@NApiVersion 2.x
*@NScriptType Suitelet
*/
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 {
onRequest: onRequest_entry // Function assigned to entry point
};
});
Modified text is an extract of the original Stack Overflow Documentation
아래 라이선스 CC BY-SA 3.0
와 제휴하지 않음 Stack Overflow