Modules

filter

 

Objects/Functions

module (N/action)

SuiteScript 2.0

Action.recordType

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

N/action Module
Action.recordType
Property Description: The type of the record on which the action is to be performed. For a list of record types, see record.Type.
Type: string
Supported Script Types: Client and server scripts For additional information, see SuiteScript 2.0 Script Types.
Module: N/action Module
Sibling Object Members: Action Object Members
Since: 2018.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Action.recordType

Example:

// Code Example 1
// Add additional code
//...
var recordType = action.recordType; // get the record type
//...
// Add additional code

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