eliyahu moskowitz
12/02/2021, 5:34 PMbattk
12/02/2021, 5:42 PMbattk
12/02/2021, 5:43 PMnot workingby itself is not good enough
eliyahu moskowitz
12/02/2021, 5:55 PMSandii
12/02/2021, 6:00 PMcreece
12/02/2021, 6:44 PMSandii
12/02/2021, 7:24 PM/**
* @NApiVersion 2.1
* @NScriptType UserEventScript
*/
define([], () => {
return {
beforeLoad: (context) => {
log.debug(context.type, 'is this triggered in VIEW MODE?');
context.form.getSublist('item')
.addButton({
id: 'custpage_test1',
label: 'Does this button show up?',
functionName: 'someFn'
});
}
}
});
creece
12/02/2021, 9:04 PMSandii
12/02/2021, 9:41 PM