Currency

For help working with this record in the UI, see Currency Management.

The internal ID for this record is currency.

See the SuiteScript Records Browser for all internal IDs associated with this record.

Note:

For information about using the SuiteScript Records Browser, see Working with the SuiteScript Records Browser in the NetSuite Help Center.

For information about scripting with this record in SuiteScript, see the following help topics:

Supported Script Types

The currency record is scriptable in server SuiteScript only.

Supported Functions

When the Multiple Currencies feature is enabled, full server scripting is supported for this record type.

When the Multiple Currencies feature is not enabled, scripting does not support create, edit, delete, or search of currency records. Search-based functions such as search.lookupFields(options) are not supported, because search is not supported. Loading of a currency record to get field values is supported if the currency ID is known, as shown in the following sample:

          var rec = record.load({
    type: record.Type.CURRENCY,
    id: 1
});
var symbol=rec.getValue({
    fieldId: 'symbol'
}); 

        

Usage Notes

The currencyprecision field is available for scripting, even when the ALLOWCURRENCYPRECISIONCHANGE preference is disabled and the field is read-only. In scripting, this field is always a number and never a list box, behavior which differs from this field’s behavior in the UI.

Related Topics

General Notices