Thanks for the code!
We have investigated the issue and decided it.
We modified your solution.
What have we changed in your solution:
1. We implemented a custom Criteria Language Function: GetCategoryCodesTreeListNode, which return string with all CategoryCodes in selected node.
2. We change value field "Expression" in the Model Editor node : Views->Solution5.Module.BusinessObjects->Order_ListView->DockPanels->Category-Master->Parameters->CategoryCode. Please see file Expression.png
This field specifies an expression that is used in 'RelationCriteria'.
3. We change value field "RelationCriteria" in the Model Editor node : Views->Solution5.Module.BusinessObjects->Order_ListView->DockPanels->Category-Master. Please see file RelationCriteria.png
If you need any further assistance on this subject, please feel free to reactivate this ticket.
On behalf of Xafari Client Services Team
dockpanel Master relation criteria tree