Modules

filter

 

Objects/Functions

module (N/config)

SuiteScript 2.0

config.Type

config.Type.{|USER_PREFERENCES,COMPANY_INFORMATION,COMPANY_PREFERENCES,ACCOUNTING_PREFERENCES,ACCOUNTING_PERIODS,TAX_PERIODS,FEATURES,TIME_POST,TIME_VOID|}

N/config Module
config.Type
Enum Description: Enumeration that holds the string values for supported configuration pages.
Module: N/config Module
Supported Script Types: All server-side scripts For additional information, see SuiteScript 2.0 Script Types.
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=config.Type

Example:

// Code Example 1
//Add additional code
//...
var configRecObj = config.load({
type: config.Type.COMPANY_INFORMATION
});
configRecObj.setText({
fieldId: 'fiscalmonth',
text: 'July'
});
configRecObj.save();
//...
//Add additional code

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