Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Error using search.lookupFields(options) with joined fields
I am getting a 'SSS_INVALID_SRCH_COLUMN_JOIN' error when I use search.lookupFields(options) and use the syntax 'join_id.field_id' in the columns.
This works fine:
var myLookup = search.lookupFields({
type: search.Type.PURCHASE_ORDER,
id: poId,
columns: ['entity','tranid']
});
But this doesn't:
var myLookup = search.lookupFields({
type: search.Type.PURCHASE_ORDER,
id: poId,
columns: ['entity','tranid','entity.phone']
});
The error implies 'entity' is wrong when trying to use it as a join. Maybe 'entity.' is not a valid join_id, but I cannot find any documentation to tell me what a valid join_id should.