title: Netsuite nlapiSearchRecord Expression filters not working
body: <p>Running into an issue with the nlapiSearchRecord() I can apply the nlobjSearchFilter() object to the searchRecord but I need an OR option and it seems that the only thing the searchFilter passes is AND. I saw this post "<a href="https://stackoverflow.com/questions/21640582/netsuite-and-or-filter">NetSuite And/Or Filter</a>" which gave me the the correct information but I keep getting the following error.</p>
  
  <blockquote>
    <p>Title     SSS_INVALID_SRCH_FILTER_EXPR_OBJ_TYPE<br>
    Type    System<br>
    Details     filters  </p>
  </blockquote>
  
  <p>and I am not sure why, I tried to do a search for the Error title "SSS_INVAILD_SRCH_FILTER_EXPR_OBJ_TYPE" but google did not produce any helpful information.</p>
  
  <p>Here is the Expression Code I am running</p>
  
  <pre><code>filterExpr = [
                      ['internalid',null,'is',itemId],
                      'AND',
                      [
                          ['inventorylocation',null,'is',locationId],
                          'OR',
                          ['inventorylocation',null,'is',3]
                      ]
  
                  ];
  
  var results = nlapiSearchRecord('item',null,filterExpr,columns);
  </code></pre>
  
  <p>--- SOLVED ---</p>
  
  <p>Figured it out the issue was with the null I had in the filter it should have been written as such.</p>
  
  <pre><code>filterExpr = [
                      ['internalid','is',itemId],
                      'AND',
                      [
                          ['inventorylocation','is',locationId],
                          'OR',
                          ['inventorylocation','is',3]
                      ]
  
                  ];
  
  var results = nlapiSearchRecord('item',null,filterExpr,columns);
  </code></pre>
  
  <p>Thanks in advance for the help.</p>