RE: FetchXML returns different number of results between Advanced Find and SDK
Hey Jon,
Is there any Date/Time type of field in your Fetch XML conditions?
When working with dates, always remember to convert to UTC since that is how CRM stores them in the database.
The native CRM Advanced find is going to look at whatever the current user's time zone is, and convert that whatever time they enter into the advanced find to UTC before performing a SQL query.
Your custom code/plugins will need to do the same thing.
Hope it helps.
If my answer helped to resolve your issue, kindly verify it by clicking 'Yes'. It would be helpful to the other community members seeking to resolve a similar issue.
Cheers
Arpit
https://arpitmscrmhunt.blogspot.in