Admin Upskill Center

Mutually Exclusive Arguments Error

Fix MUTUALLY_EXCLUSIVE_ARGUMENTS in SuiteScript setSublistValue calls by supplying required parameters like line index.

Well this was a new one. {"type":"error.SuiteScriptError","name":"MUTUALLY_EXCLUSIVE_ARGUMENTS","message":"Can't use mutually exclusive arguments....

Came from this line of code:

recordObject.setSublistValue({ sublistId: 'item',  fieldId: 'custcol_myfield', value: results[guid] });

Can you spot the issue?

How about that I did not supply the line parameter?

Date: 2025.12.18 NS Version: 2025.2