Modules

filter

 

Objects/Functions

module (N/recordContext)

SuiteScript 2.0

recordContext.ContextType

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

N/recordContext Module
recordContext.ContextType
Enum Description: Holds the value for the context type.
Type: enum
Module: N/recordContext Module
Sibling Module Members: N/recordContext Module members
Since: 2020.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=recordContext.ContextType

Example:

// Code Example 1
// Add addtional code
//...
// getContext() with options record and contextTypes
var employeeContext = recordContext.getContext({

record: employee,

contextTypes: [recordContext.ContextType.LOCALIZATION]

})
//...
// Add additional code

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