Simple search button filter

good morning, I have a simple search button for sales orders, next to it I have another simple search button for the lines of that sales order but that button does not filter the lines of the typed order, it shows me all the lines of all the open orders.

How can I filter that it only shows me the lines of an order typed in the txt?

For now I’m assuming you’re not passing any order numbers to that search?
But probably need more details from you about your customization, which method being called & how, etc…?

Adding custom searches can be definitely be “interesting”.
Sometimes the BL Tester can be helpful in figuring out what might be going on?

1 Like

There should be a whereClause you pass into the Simple Search in your code, you will need to filter it.