+ Start a Discussion
Walter Chase 9Walter Chase 9 

faultcode:'soapeng:client', faultstring:'System.SObjectException: SObject row was retrieved via SOQL without querying the requested field:

{faultcode:'soapenv:Client', faultstring:'System.SObjectException: SObject row was retrieved via SOQL without querying the requested field: Account.Health_Rating_Score__c

Class.AccountScoreBatch.scoreAccount: Line 280, column 1

Class.AccountActions.calculateScore: line 8, column 1'}

 

Syed Insha Jawaid 2Syed Insha Jawaid 2
Hi Walter

You have not queried the Health_Rating_Score__c field on account in your class (AccountScoreBatch) and you are trying to use it.
Add the field to query string, it would resolve this issue.

Cheers!!!