Skip to main content

KI-60

Key/SummaryKI-60 Account Search Handler not querying all account fieldsStatusDone
Created06/03/2021Updated11/15/2021
DescriptionSuppressing an Account search result field at the Country level caused an "SObject row was retrieved via SOQL without querying the requested field" error to be thrown. A hotfix for this known issue was issued. For more information about hotfixes, see release process.
Impacted CapabilitiesAffected AppsMedical Information Cloud - Classic Medical Information Cloud - Lightning
Affects VersionsMIC V10Fix VersionMIC V10.0.1
Steps to Reproduce1. Include MED_AccountSearchHdlr in the Account Search Handler field in the Global Setting custom metadata type. 2. Configure a field to show the Account search results as a global default. 3. Set the search results order to 0 to suppress it from the results for that country. 4. Search for an account in any country that is NOT the country the field is suppressed for. The field is not queried and will throw an "SObject row was retrieved via SOQL without querying the requested field" error.
WorkaroundDo not exclude any fields from search results for any countries. Instead, include fields as secondary results if you don't want it showing in the main results column.