Hello everyone,
I have a business requirement that is asking me to come up with a way for individuals to search for a list of accounts that do not have a related entity.
There are also a wide range of scenarios and conditions, for example:
Let's say I have a custom entity that has a N : 1 relationship with an account and each record of this custom entity may represent a product / service the account may be subscribed to.
I want to generate a list of accounts that have a particular service but not another.
I thought about using a custom 'tracker' entity that has fields for each product and I could then search based on those fields... However, I believe there are limitations with the max number of fields that you can have on an entity.
I know this can be done easily with a direct SQL query but I am also asked to come up with a 100% CRM supported way of doing this.
The only other idea that I have would be to put together a custom HTML web resource, allow users to input details, and have it attempt to build the fetch XML's and if it cannot be done in one Fetch XML to build multiple and have the system try to iterate through the result sets and put together a final account list.
I'm not asking for a direct solution such as code but I am just looking for ideas / suggestions on a way I could put this together.
Any and all advice would be greatly appreciated.
Thank you!