Hi.
In my code the following warning has started to appear

However, if I fix it by putting Rec.

When executing I get the following error

I have seen this happen in the Enabled, Editable, .... properties of the pages
A greeting
dupe of https://github.com/microsoft/AL/issues/6095 and others
We had the same problems. Best to use a global boolean which u set in the trigger OnAfterGetCurrentRecord() and then set the boolean there.
This will make the page run for both BC17 and previous.
True they are all duplicates. As far as I know it is fixed in our master, thus it just need to be backported.
The AL604 warning (and hence the code fixer) will in not show for runtime < 6.0 from the next CU. The previous runtimes doesn't support the Rec. in client side expression.
Most helpful comment
True they are all duplicates. As far as I know it is fixed in our master, thus it just need to be backported.