You need to sign in to do that
Don't have an account?
JoshTonks
Variable does not exist: Integer
Im trying to create some simple counters. It is going to be more filtered down then this but im getting an error on the 3 and 9 line Variable does not exist: Integer. I think im missing something out because im sure that ive written something similar many moons ago.
public class StatusCheck { public Integer getCaseCounter(){ return (Integer) = [SELECT count() FROM Case WHERE Type =: 'Install' ]; } public Integer getOppCounter(){ return (Integer) = [SELECT count() FROM Opportunity WHERE Type =: 'New Business' ]; } }
https://developer.salesforce.com/forums/?id=906F0000000DBEnIAO
All Answers
https://developer.salesforce.com/forums/?id=906F0000000DBEnIAO