Applies To
Product: NetSuite 2021.1
Scenario
There is a requirement to display a Confirm pop-up if the new Total Amount is greater than the Old Total Amount using Workflows.
Solution
1. Create a Custom Field
- Navigate to Lists, Records, & Fields > Transaction Body Field > New
- Label: Enter Label
- Example: Total Amount
- Type: Select Currency
- Store Value: Remove Checkmark
- Purchase: Enter Checkmark
- Click Validation & Defaulting
- Default Value: Enter {total}
- Formula: Enter Checkmark
- Click Save
2. Edit the Workflow
- Click Edit beside the Workflow to be customized
- Click the State with the Confirm Action
- Click Edit beside the Confirm Action
- Set the following condition:
- Field: Select Total
- Compare Type: Select greater than
- Value Field: Select Custom Field (created in Step 1)
- Click Save