Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Help With New Copy PO# Script!!
Hello All,
I am trying to write a script that will copy the PO# into the memo field. Not sure where I am going wrong.
I am using the Field Changed Function?
function ld_fieldChanged(){
var otherRef = nlapiGetFieldValue("otherrefnum");
var Mem = nlapiGetFieldValue("memo");
if(ortherRef != Mem){
nlapiSetFieldValue("memo", otherRef);
}
}
0