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.

For a complete list of this object’s methods and properties, see Macro Object Members.

Supported Script Types

Client and server scripts.

For additional information, see SuiteScript 2.x Script Types.

Module

N/record Module

Methods and Properties

Macro 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 myMacro = record.getMacro({id: 'calculateTax'})
...
// Add additional code 

        

Related Topics

General Notices