Entering Formulas for a Mass Update

For mass updates that are General updates, you can update multiple fields per record. You select the fields to be updated on the Mass Update Fields subtab of the mass update page, by checking the Apply box. For each selected field, you can enter a static value to use for updating the field in all records, in the Value field. Or, if you want to update a field based on dynamic values, you can enter a SQL expression in the Formula field. You can enter SQL directly in the Formula field, or click the Set Formula button to display a popup formula builder.

Formula values are dynamically calculated at the time a mass update is performed. Formulas can include NetSuite field IDs for which field values are substituted, SQL functions, and mathematical operators. NetSuite field IDs should be formatted as follows: {field_name}. Most common SQL functions and operators are available.

The following are example mass update formulas:

Note:

Knowledge of SQL will help you to fully leverage the flexibility and power of SQL functions to define complex formulas. For more details, refer to SQL Expressions . Also, you can refer to SuiteScript Supported Records for tables of NetSuite field IDs.

Related Topics

Mass Changes or Updates
Defining a Mass Update
Scheduling a Mass Update
Translations for Mass Updates
Example Mass Update
Available Mass Updates
Mass Updates of Global Subscription Status
Performing Mass Deletes

General Notices