I've created a saved search of the type "Login Audit Trail". I would like to call this search using SuiteScript. I.E. The Following:
var em = "user@company.com" (This is a contact level user as opposed to the customer level)
var filters = new Array();
filters[0] = new nlobjSearchFilter('email', null, 'is', em);
var searchresults = nlapiSearchRecord('?????', 427, filters, null);
What would be the record type for '?????' or is this possible using SuiteScript?
Regards
AGMNS