AL
AL copied to clipboard
SetRecFilter not working as expected
Using SetRecFilter from a non-standard table/page applies blank filters to a non-standard report.
To Reproduce Steps and to reproduce the behavior:
- Go to '...' Create New page based on new table. Create page action to call report based on new table. add following to Page Action:
NewTableVar.SetRecFilter; Clear(NewReport); NewReport.SetTableView(NewTableVar); NewReport.RunModal;
Expected behavior Get a request page with filters applied to key fields from focussed record on the page.
Versions:
- AL Language: 3.0.152816
- Business Central: Version: Platform 14.0.32600.0 + Application 32615 (GB Dynamics NAV 14.1)