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 |
Module |
|
Sibling 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