Showing posts with label Forecast. Show all posts
Showing posts with label Forecast. Show all posts

Saturday, July 27, 2019

How to check Forecast is enabled or not for User using SOQL

This simple query checks the forecast is enabled or not user
SELECT Id, ForecastEnabled FROM User where Id = '005B0000005lewT'
Result

Resource
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_user.htm