On the sales order subform page (displaying Sales order lines), I've added the flowfields Item."Qty. on Purch. Order" and Item."Qty. on Sales Order".
They're showing up just fine, with the correct values.
I now want to show the pages Purchase Order Lines respectively Sales Order Lines with the lines corresponding to the item in the sales order subform, when clicking on the values.
If I set the DrilldownPageID property to "Purchase Lines" in case of the "Qty on Purch. order", nothing happens.
If I set a local variable PagePurchaseLines of type Page, subtype Purchase Lines and write PagePurchaseLines.RUN in the OnDrillDown trigger, the page Purchase Lines opens, but with no filtering whatsoever.
In what way can I open the correct pages with filtering on the Item on the selected line in the subform?