Macro.id
Property Description |
The ID of the macro. For information about record macros, see Overview of Record Action and Macro APIs. |
Type |
string |
Supported Script Types |
Client and server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2018.2 |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/record Module Script Samples.
// Add additional code
...
var id = macro.id; // get the id of the macro
...
// Add additional code