mg2017
07/21/2021, 11:27 PM/**
*@NApiVersion 2.0
*@NModuleScope TargetAccount
*/
define(['N/record', 'N/search'],
function (record, search) {
function TODO() {
return true;
}
return {
TODO: TODO
};
})
my script file is called config.js but i seem to get this error: @NScriptType is mandatory for SuiteScript 2.x entry point scripts.stalbert
07/21/2021, 11:48 PM@N
header commentsbarinvon
07/22/2021, 4:52 AMbarinvon
07/22/2021, 4:54 AM* @NScriptType UserEventScript
in your top comment, for example, depending on what kind of script record you are trying to createbarinvon
07/22/2021, 4:55 AMmg2017
07/22/2021, 12:09 PMSandii
07/22/2021, 2:50 PMmg2017
07/22/2021, 3:37 PMstalbert
07/22/2021, 3:58 PM