Hello, struggling to learn with AL. I got simple report that is supposed to show data in table.
RequestFilterFields = "Transfer Order Date";
I was hoping to use requestfilterfields to sort out my data. However, there should be minimum value for date value. In this example, 30/06/2024. Report shouldn’t show data prior to 01.07.2024.
So, i added this trigger:
trigger OnPreDataItem()
begin
SetRange("Transfer Order Date", DMY2Date(1, 7, 2024), Today);
end;
Apparently, this trigger always shows “01.07.2024 —> Today”, despite I enter filter value for the Transfer Order Date.
What can i do to achieve what i am looking for?
batzolboo bat-erdene is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1