After the recent upgrade, search requests via web services to get a filtered list of customer payment records started failing. It does not error but fails in a strange way. Instead of returning status tag with isSuccess=true, it started returning an empty status tag and it breaks the check for response.status.isSuccess in the code!!
Waited for 2 hours this morning on phone trying to talk to someone at NetSuite but in the end they won and I had to hang up.
REQUEST
---------
<soap:Envelope>
<soap:Header>
<searchPreferences>
<bodyFieldsOnly>false</bodyFieldsOnly>
</searchPreferences>
</soap:Header>
<soap:Body>
<search>
<searchRecord xsi:type="q1:TransactionSearch">
<q1:basic>
<memo operator="contains">
<searchValue>[xxxuuyyy]</searchValue>
</memo>
<type operator="anyOf">
<searchValue>_customerPayment</searchValue>
</type>
</q1:basic>
</searchRecord>
</search>
</soap:Body>
</soap:Envelope>
RESPONSE
----------
<soapenv:Envelope>
<soapenv:Header>
<documentInfo>
<nsId>WEBSERVICES_TESTID</nsId>
</documentInfo>
</soapenv:Header>
<soapenv:Body>
<searchResponse>
<searchResult>
<status/>
<totalRecords>0</totalRecords>
<totalPages>0</totalPages>
<recordList/>
</searchResult>
</searchResponse>
</soapenv:Body>
</soapenv:Envelope>
Update: It appears to be misbehaving when the search query does not return any records! Also, it is not just limited to customer payment records and it is doing it for all searches via web services.
I appreciate any help.
Thanks
Krishna