Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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