Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
how to get the 'exchangerate' in system
//var filters = new Array();
//filters[0] = new nlobjSearchFilter( 'trandate', null, 'onOrAfter', 'daysAgo90' );
var columns = new Array();
columns[0] = new nlobjSearchColumn( 'exchangerate' );
var searchresults = nlapiSearchRecord( 'currency', null, null, columns);
for(var i=0;i<searchresults.length;i++)
{
var record = nlapiLoadRecord(searchresults[i].getRecordType(),searchresults[i].getId());
var test1=record.getFieldValue('exchangerate');
alert(test1+'\n\r'+'');
}
how to get the 'exchangerate' attribute???