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
nlapiLoadRecord - Currency
Hi,
I am using nlapiLoadRecord to access the currency record. According to the user guide, this api "...Loads an existing record from the system and returns an nlobjRecord object containing all the
field data for that record". However, when I tried to access the "isbasecurrency" field, it gives me null value:
Is nlapiLoadRecord the same with nlapiSearchRecord in that you can only access defined Search Columns? If not, how can I get the value of "isbasecurrency" field?
Below is what I have done so far:
//access base currency record var record = nlapiLoadRecord('currency', 1) var basecurrencyname = record.getFieldValue('name'); alert(basecurrencyname); //displays the currency name var isbasecurrency = record.getFieldValue('isbasecurrency'); alert(isbasecurrency); //displays a null value 0