cja
03/27/2020, 4:22 PMbattk
03/27/2020, 4:58 PMbattk
03/27/2020, 4:58 PM/**
* @NAPiVersion 2.0
* @NScriptType ClientScript
* @NModuleScope Public
*/
define([], function () {
var entryPoints = [
"pageInit",
"saveRecord",
"validateField",
"fieldChanged",
"postSourcing",
"lineInit",
"validateLine",
"validateInsert",
"validateDelete",
"sublistChanged",
];
return entryPoints.reduce(function (factoryObject, entryPoint) {
factoryObject[entryPoint] = function (context) {
console.debug(entryPoint, context);
return true;
};
return factoryObject;
}, {});
});
battk
03/27/2020, 5:00 PM