Hi,
I want to query warranty registration records. but below command is giving type error, assuming not recognising search type 'customrecord_wrm_warrantyreg'?
search.lookupFields({type:search.Type.customrecord_wrm_warrantyreg, id: '2320', columns: ['custrecord_wrm_reg_customer']});
error
name":"SSS_MISSING_REQD_ARGUMENT","message":"search.lookupFields: Missing a required argument: type"
any clues?