Craig Cooper
07/25/2018, 7:43 PMvar shipad = "FedEx";
var search = nlapiSearchRecord('shipitem', null , new nlobjSearchFilter('itemid', null , 'is', shipad));
if(search != null){
var shipID = search[0].getId();
}
nlapiLogExecution('DEBUG', 'amount:',shipID);
I keep getting this error "An nlobjSearchFilter contains an invalid operator, or is not in proper syntax: itemid."