michoel
07/10/2017, 11:08 PMvar tranid = request.getParameter('transaction');
if(tranid) {
var type = nlapiLookupField('transaction', tranid, 'type');
if(type && type === 'SalesOrd') {
// Your code here
}
}
jen
07/10/2017, 11:58 PMmichoel
07/10/2017, 11:59 PMrequest.getParameter('transaction')
work? I am using that in a script succesfully