You need to sign in to do that
Don't have an account?

Delete class in revenueforecast
Please your help!
we change from customized forecast to collaborative forecast, and all is working ok, the problem is... that we have 1 apex class and 2 schedules that query revenueforecast and when we try to delete them, we get an error Invalid type: RevenueForecast & line -1, column -1: Dependent class is invalid and needs recompilation, how can we delete them now
we change from customized forecast to collaborative forecast, and all is working ok, the problem is... that we have 1 apex class and 2 schedules that query revenueforecast and when we try to delete them, we get an error Invalid type: RevenueForecast & line -1, column -1: Dependent class is invalid and needs recompilation, how can we delete them now
Make sure that what you are trying to delete is not referenced by another class (remove if so), and if they aren't trying recompiling.
For more information please check with below help document.
- (https://help.salesforce.com/articleView?id=000229072&type=1).
Thanks,Nagendra