Write an Apex Class
Use Cases:
ConfigurationConsultant
Prompt
Write an Apex class that takes a list of Account IDs and updates the 'Health_Score__c' field based on the number of open Opportunities, won deals in the last year, and open Cases.
Prompt
Write an Apex class that takes a list of Account IDs and updates the 'Health_Score__c' field based on the number of open Opportunities, won deals in the last year, and open Cases.
Add or remove values without touching Setup.
“Add the value Pilot and deactivate Proof of Concept in the picklist Opportunity_Type__c.”
Describe the math in English. Skip the syntax.
“Create a formula field Margin_Percent__c on Opportunity: (Amount – Cost__c) / Amount.”
Paste an error. Get the root cause in seconds.
“Apex error ‘FIELD_CUSTOM_VALIDATION_EXCEPTION’ on saving Opportunity — identify which validation rule fired and why.”