I want to do an approval procedure for checking GRPO Qty which greater than PO OpenQty by Query.
How to pass the GRPO DocEntry and LineNum to the query, and how can check the passing value is correct or not?