,'is',itemId],                     'AND',                     [                         ['inventorylocation',null,'is',locationId],                         'OR',                         ['inventorylocation',null,'is',0]                     ]                  ];  var results = nlapiSearchRecord('item',null,filterExpr,columns);  --- SOLVED --- Figured it out the issue was with the null I had in the filter it should have been written as such. filterExpr = [                     ['internalid','is',itemId],                     'AND',                     [                         ['inventorylocation','is',locationId],                         'OR',                         ['inventorylocation','is',0]                     ]                  ];  var results = nlapiSearchRecord('item',null,filterExpr,columns);  