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.x Script Types.

Module

N/action Module

Sibling Object Members

Action Object Members

Since

2018.2

Syntax

Important:

The following code snippet shows the syntax for this member. It is not a functional example. For a complete script example, see N/action Module Script Samples.

          // Add additional code
...
var actionObj = action.get({
         recordType: 'timebill', 
         id: 'approve'
});

// Get the action record type
var theRecordType = actionObj.recordType;
...
// Add additional code 

        

Related Topics

action.Action
N/action Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices