You need to sign in to do that
Don't have an account?
sayyed rabbani2
Hi All, I wanted to query 1 year ahead lead records based on CreatedDate i tried using Last_N_days and Next_N_days but it is not working.. any suggestions from your end.
Hi All, I wanted to query 1 year ahead lead records based on CreatedDate i tried using Last_N_days and Next_N_days but it is not working.. any suggestions from your end.
Quick reply helps me to use it in my code.
Thanks
Sayyed
Quick reply helps me to use it in my code.
Thanks
Sayyed
This query worked for me
Please refer below link
http://www.simplysfdc.com/2013/11/salesforce-soql-lastweek-lastndaysn-and.html
Hope this helps you!
If this helps you please mark it as solved.
Thanks and Regards
Sandhya
@Sandhya, I don't see how a select * or a soql with "where WHERE" can even work Where {0} should be replaced with the number of days you want.
You are right, sorry that's a typo mistake
Thanks and Regards
Sandhya