function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ECoronaECorona 

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
NagendraNagendra (Salesforce Developers) 
Hi Corona,


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. Thanks,
Nagendra
 
ECoronaECorona
Thank you Nagendra, the problem is that they are referenced :( and the link is not working (error 404)