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
Durvesh Shah 8Durvesh Shah 8 

Content cannot be displayed: Invalid type: QuantityForecast

All of a sudden I am unable to query quantity forecast and revenue forecast object. The code was working fine for the past 4 years and it suddenly stopped on 18/07/2020.

Please help someone. It's very urgent.

List<QuantityForecast> lstQuantity;  lstQuantity = [select Id, Quota,OwnerId, StartDate from QuantityForecast where OwnerId in: setofUser ];
ANUTEJANUTEJ (Salesforce Developers) 
Hi Durvesh,

Have you tried querying the records using the query editor?

Regards,
Anutej