Working with Sublist Action Groups on Transactions
Upon completion of this module, you will be able to:
As of NetSuite 20.1, sublist processing is limited to specific records and sublists:
Available on Transaction record subtypes:
Available on the Expense Report transaction subtype.
Support for sublists and actions is expanding with each NetSuite release. Always check the SuiteFlow documentation or release notes for the latest supported sublists.
Not all sublist fields visible on the form are accessible via SuiteFlow. If a field isn't listed in SuiteFlow dropdowns, it's not currently supported.
Sublist fields are identified by a "Line" suffix in SuiteFlow dropdown lists:
Location (Line) β the sublist fieldLocation (Main) β the transaction body fieldEach sublist line has a unique Line ID:
Line = 3 to target specific lineReference sublist fields with the line. prefix:
line.rate = line.rate * 0.75 (apply 25% discount)
The only way to execute workflow actions on sublist fields is through Sublist Action Groups.
Group-level conditions: Evaluated firstβif false, entire group is skipped.
Action-level conditions: Evaluated for each line that passes group conditions.
| Action | Purpose |
|---|---|
| Create Record | Create related records based on line data |
| Set Field Value | Update line field values |
| Send Email | Send notifications based on line data |
| Return User Error | Validate line data and show errors |
All actions in Sublist Action Groups must be configured on server triggers.
Some actions manipulate the entire sublist and are configured at the state level (NOT in Sublist Action Groups):
| Action | Purpose |
|---|---|
| Create Line | Add new lines to the sublist |
| Set Field Display Label | Change column header labels |
| Set Field Display Type | Show/hide/disable columns |
| Set Field Mandatory | Make columns required |
Special considerations when using Set Field Value in Sublist Action Groups at Before Record Load:
| Capability | New/Copied Records | Existing Records |
|---|---|---|
| Retrieve sublist field values | β | β |
| Set body/sublist/workflow fields | β | β |
| Set workflow/state fields only | β | β |
Automatically add a free promotional item when specific products are ordered:
To check if EITHER field is false, use expressions:
(Loft Promotion = False) OR (Chair Promotion = False)
Build sublist workflows: