Hi everyone,
we are using Object Link functionality to link Manufacturing Orders.
In order to show the relevant predecessors and successors of one selected order (order number is written to variable aufnr) we filter as follows:

This selects the respective order, but also all predecessors and successor orders.
However, in this case, we only want to see the orders, that are created in the same plant, not from previous plants. E.g. in the following examples, the 2 first orders 1 and 2 of Plant A should not be selected, if the variable is set to Order 6.

What is the best practice to filter in this case?
Thank you, BR Philipp