Modules

filter

 

Objects/Functions

module (N/format/i18n)

SuiteScript 2.0

format.Country

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=format.Country for more information.

N/format/i18n Module
format.Country
Enum Description: Holds the values for the country. JavaScript does not include an enumeration type. The SuiteScript 2.0 documentation utilizes the term enumeration (or enum) to describe the following: a plain JavaScript object with a flat, map-like structure. Within this object, each key points to a read-only string value.
Type: enum
Module: N/format/i18n Module
Sibling Module Members: Phone Number Formatter Object Members
Since: 2020.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=format.Country

Example:

// Code Example 1
// Add additional code
//...
require(['N/format/i18n'],
function(format) {
log.debug("List of valid countries:");
for (var ctr in format.Country) {
log.debug(ctr);
}
});
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_158626866748.html