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!
search.lookupFields
Has anyone used the the search.lookupFields for SuiteScript 2.0?
I'm having trouble returning list/record values. I can return date, checkbox, etc but can't get list/records. Please see the code below.
var fieldLookUp = search.lookupFields({
type: search.Type.TRANSACTION,
id: createdfrom,
columns: ['shipdate', 'type', 'entity', 'custbody_hotmarketorder']
});
fieldLookUp.shipdate returns a date but fieldLookUp.entity returns [object Object]. fieldLookUp.entity.value returns undefined.
Thanks.