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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Adding Field Values : Script
Hi All
I am just trying to add 3 currency field values and put it the result on 4th currecy field.
here is the code i have tried, but not working.
can someone please tell me, whats the wrong on this code ?.
function totalcost(name, type)
{
var total = nlapiGetFieldValue('custrecord_f1_estimated_cost') + nlapiGetFieldValue('custrecord_f2_estimated_cost') + nlapiGetFieldValue('custrecord_f3_estimated_cost');
nlapSetFieldValue('custrecord_total_estimated_cost', nlapFormatCurrency(total));
}
Thanks in advance
0