You need to sign in to do that
Don't have an account?
sriram k 15
Want to fetch all Opportunity Records created by current User Today?
I am getting error with this Query. Can Anyone help to fetch details?
Select Id,Name,Amount from Opportunity where createdDate = Today AND CreatedById = UserInfo.getUserId()
UserInfo.getUserId() can be used only in the APEX class with standard controller and it is not a method. You should use it as below.
If this solution helps, Please mark it as best answer.
Thanks,