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

revenueforecast
Please Help!!!
The last week 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???
I'll really appreciate your help
The last week 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???
I'll really appreciate your help

Make sure that what you are trying to delete is not referenced by another class (remove if so), and if they aren't try recompiling (https://help.salesforce.com/articleView?id=000229072&type=1).

thank you David, the problem is that they are referenced and also to RevenueForecast (i don't know if it is deleted o inaccesible after we change to collaborative) and the link is not working i get 404 error.