I have two custom entity.
I want to show the sub grid with filtering two or three fields that all are look up. In SQL way I want to
select * from table where field 1 = *** or field 2=*** or filed 3 =***
But in CRM it's not possible you can select only one field. I dont know how to add fetch xml and also i dont know, Should I create js on load of form or export solution add filter to fetchxml then import it to crm?
Have you tried creating a Custom View where you can set up this filter criteria and use this view on the Subgrid
Here you have the details: https://crmbook.powerobjects.com/system-administration/customization/customizing-views/
来源:https://stackoverflow.com/questions/48250418/show-the-sub-grid-with-filtering-two-or-three-fields-that-all-are-look-up-in-crm