{Advanced Code Tip} How to query based on Customer field type in Dynamics 365

Sending
User Review
0 (0 votes)

Requirement: In one of our recent projects new field type: Customer is being utilized in Case entity (It is available out of box). There was an additional need to be able to query case entity on the basis of Customer field type.

Note: For customer field type, I had written a blog a while back describing this field type :

Customer field type

Solution:

Following code can be used to query on the basis of customer field type:

clip_image002

Hope it helps and happy 365ing!

Any problem in CRM – end user,Microsoft  partner or an individual?

Problem Area – Technical, Functional, Training, Development or consulting?

I am here to help, get in touch here: Click here

ABOUT THE AUTHOR:

clip_image011

Twitter: https://twitter.com/msdynamicsblog
LinkedIn: https://www.linkedin.com/in/deepesh-somani-00296932

Google Play Store:

https://play.google.com/store/apps/details?id=com.dynamicsofdynamicscrm.msdynamicsblog&hl=en