You need to sign in to do that
Don't have an account?
@altius_rup
SOQL Internal error
This SOQL query produces an internal error :
SELECT QuotaOwner.Name nom, SUM(QuotaAmount) montant FROM ForecastingQuota GROUP BY QuotaOwner.Name
Anyone know why ?
Rup
It seems I can't access ForecastingQuota Object in Apex.
Not sure why it's happening, but please file a bug with the error info. A similar query that almost gets you what you want is:
Then you would need to select the corresponding names for the Id's from User and correlate them in code.
@Pat,
Thanks for your reply.
Indeed, ForecastingQuota is rather exotic and seems to be really half-baked :
This is OK :
and so is this :
This ORDER BY is OK :
but this is not :
Half-baked ? :(
This GROUP BY is OK :
but this one is crashes :
Ugghhh ! :((
OK, so back to APEX to work around yet another silly bug ...
angry Rup
Can't disagree with you on the bug. Please open a case so it goes onto the queue for a fix.
Hi pattson,
How to open a case in this case?
can you please explain me?
Regards,
Sudharkar reddy
Hi Sudharkar,
Call Salesforce Support.
Cheers,
Pat