Rick Goodrow
11/13/2025, 6:20 PMsearch.lookupFields({
type: record.Type.SALES_ORDER,
id: createdFrom,
columns: [ 'subtotal' ],
});
but getting an error {"type":"error.SuiteScriptError","name":"SSS_INVALID_SRCH_COL","message":"An nlobjSearchColumn contains an invalid column, or is not in proper syntax: subtotal."}
Record Browser shows Sales Order having subtotal as a valid field, and loading the record via record.load() and then using .getValue({fieldId: 'subtotal'}) does actually return the value. So what am I missing?battk
11/13/2025, 6:29 PMbattk
11/13/2025, 6:30 PMNickSuite
11/13/2025, 6:33 PMRick Goodrow
11/13/2025, 8:07 PM