A status detail of "WARNING" from my transactionseachbasic call says:
"Could not retrieve value for custom field custbodypledgestatus". The search is successful but the results do not include the custom field data.
The custom field referenced is a transaction body custom field of type list.
The list is populated and the field can be set in the web UI without any problem.
The custom field default permissions are both 'edit' and I tried adding permissions for the specific roles my web services account runs under.
The SOAP call is:
... <ns3:searchPreferences ..."> <bodyFieldsOnly>false</bodyFieldsOnly> </ns3:searchPreferences> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns3:search> <ns3:searchRecord xsi:type="ns2:TransactionSearchBasic"> <ns2:entity operator="anyOf"> <ns1:searchValue internalId="8"/> </ns2:entity> <ns2:type operator="anyOf"> <ns1:searchValue>salesOrder</ns1:searchValue> </ns2:type> </ns3:searchRecord> </ns3:search> </SOAP-ENV:Body> ...
The SOAP response:... <soapenv:Body> <searchResponse ... > <platformCore:searchResult ..."> <platformCore:status isSuccess="true"> <platformCore:statusDetail type="WARN"> <platformCore:code>WARNING</platformCore:code> <platformCore:message>Could not retrieve value for custom field custbodypledgestatus</platformCore:message> </platformCore:statusDetail> </platformCore:status> <platformCore:totalRecords>3</platformCore:totalRecords> ...
Any particular reason why I can't retrieve this custom field in this search?