record.Macro
Object Description |
Encapsulates a record macro. For information about record macros, see Overview of Record Action and Macro APIs. Use the Record.getMacro(options) method to access the Macro object. |
Supported Script Types |
Client and server scripts. For more information, see SuiteScript 2.x Script Types. |
Module |
|
Methods and Properties |
|
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 myMacro = record.getMacro({id: 'calculateTax'})
...
// Add additional code