Hello and Happy New Year. I am hoping to fins some help on something where I cannot find much dodumentation on. I am trying to write a user event script with the following code. It is returning null in both before submit and after submit deployments. However it works perfectly fine on a client scripts. Can anybody offer an idea regarding what I am doing wrong?
var pairedTrx = nlapiGetFieldValue('intercotransaction');
nlapiLogExecution('debug','pairedTrx',pairedTrx);// returns null for user event scripts