Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Could not retrieve value for custom field
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> ...
0