jagdish kunwar
08/10/2021, 10:00 AMNElliott
08/10/2021, 2:11 PMjagdish kunwar
08/11/2021, 10:26 AM/**
* Update Inventory Item
* Sync inventory items information to Magento
*
*@NApiVersion 2.x
*@NScriptType UserEventScript
*/
define([
'N/http'
],
function (http) {
function afterSubmit(context) {
log.debug('After submit context : ', context);
}
function beforeLoad(context) {
log.debug('before submit context : ', context);
}
return {
afterSubmit: afterSubmit,
beforeLoad: beforeLoad
};
});
Shubi
08/13/2021, 12:10 AMWill
08/13/2021, 4:49 PM'N/log'
, but you're trying to use it. I'm not sure though if that causes the script to fail and exit early. I'm still pretty new with SuiteScript 2.0 scripts.jagdish kunwar
08/16/2021, 8:37 AMWill
08/16/2021, 3:26 PMjagdish kunwar
08/17/2021, 8:03 AM