markus.99
04/12/2019, 6:56 PMfunction CS_PNRefUpdate(){
var pnref = nlapiGetFieldValue('custbody_pnref');
nlapiSetFieldValue('pnrefnum', pnref); }
Script is solely trying to get value of a custom field and update the pnref
field on the Cash Sale.
Issue I'm running into is that the workflow action script isn't updating the pnref
field and i'm getting this error: Credit Card Number or P/N Ref. has to be set to record external payment event.
So any help on what I could change to get this to work would be appreciated.