Modules

filter

 

Objects/Functions

module (N/record)

SuiteScript 2.0

record.Macro

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=record.Macro for more information.

N/record Module
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-side scripts. For additional information, see SuiteScript 2.0 Script Types.
Module: N/record Module
Methods and Properties: Macro Object Members
Since: 2018.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=record.Macro

Example:

// Code Example 1
// Add additional code
//...
var myMacro = record.getMacro({id: 'calculateTax'})
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1529089092.html