Hi everyone,
I modified manually fecthxml in a saved query inside the customization.xml file because i need to order by attributes retrieved using link-entity .
After this change, even if the query is correct , not always but often, when records have a change, in the subgrid the error message "0x80041103 query build error" shows up . Following image represents the error.

What are guidelines to construct Fetch xml query for views of entities?
Or the problem is in the view layout?
Thanks in advance
Eugenia