I am getting below warning in AL
"Use of implicit 'with' will be removed in the future. Qualify with 'Rec.'. This warning will become an error in a future release. AL(AL0604)"
Can anyone let me know what will be the issue?
This came out a few months ago, I wrote about it (http://thedenster.com/bye-bye-with), as did other people
The AL CodeActions extension has a function to help you fix it.
You could disable rule in your ruleset, but at some point you must address the issues because they will get rid of WITH in about a year.
So in that case do we need to add "Rec." whenever be we are going to add field in page extension?
I was disabled this AL CodeAction but still having the same issue.
Correct. In the new situation, you must specify the record as well as the field. In a page extension that means that you will need to specify Rec when you are doing something with any of the record's fields. The AL CodeActions extension can do it for an entire object, which is very useful when you have to fix a lot of objects.
Would you tell me where I need to do the modification that will really help me a lot. I saw that CodeAction have 2 commands but I not sure how i can execute those?
Click on the problem in the problems window, and VSCode will take you right where the problem is, and you can fix it there. You execute commands in VSCode from the Command palette (Ctrl + Shift + P).
If you need some help on how to work with VSCode, there is about 20 hours of training for AL development on YouTube - www.youtube.com/playlist
Thank you so much Daniel. Much Appreciated.
You're welcome, glad to hear you were able to fix that