If you want to make a global variable accessible from table to table extension, or from page to page extension, you would normally need to create a procedure to get or set the variables. With protected variables, you no longer need to do that.
The protected keyword can be used to make variables accessible between tables and table extensions and between pages and page…
Continue Reading thatnavguy’s Article on their blog
Protected Variables in AL
Protected Variables If you want to make a global variable accessible from table to table extension, or from page to page extension, you would normally need to create a procedure to get or set the variables. With protected variables, you no longer need to do that.
Blog Syndicated with thatnavguy’s Permission
More About This Author
-
Experienced NZ-based NAV Developer and Consultant with 10+ years of experience leading multiple IT projects, performing business analyst, developing, implementing, and upgrading Dynamics NAV and Business Central.
I have led multiple Dynamics NAV and Business Central projects for businesses in Asia, such as Japan, Singapore, and Indonesia, and currently in both Australia and New Zealand.
I am passionate to deliver solution that focuses on user-friendly interface while keeping high standard of compliance with the needs. I believe in adding value to people’s lives and try to leave people better than when I first met them.
Array
- Business Central7 March 2023D365 Business Central : An environment with the same name already exists
- Business Central3 March 2023D365 Business Central : Enable Job Queue in Docker Container
- Business Central1 February 2023D365 Business Central : Suggest Account on General Posting Setup
- Business Central26 January 2023D365 Business Central : Persistent Blob