AL icon indicating copy to clipboard operation
AL copied to clipboard

SetRecFilter not working as expected

Open MarceeMarc opened this issue 7 years ago • 0 comments

Using SetRecFilter from a non-standard table/page applies blank filters to a non-standard report.

To Reproduce Steps and to reproduce the behavior:

  1. 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)

MarceeMarc avatar Aug 06 '19 11:08 MarceeMarc