xxx is inaccessible due to its protection level AL(AL0161

rcverbeekrcverbeek Member Posts: 32
Hi,

We are in the process of migrating our C\AL application towards AL. One of the issues we need to deal with is that in some page extensions we would like to access the value of a global variable in the base page. However this is impossible, getting the message "xxx is inaccessible due to its protection level AL(AL0161)"

For instance: we extended the Sales Prices page by adding an OnClosePage custom trigger. Here we would like to use the SalesTypeFilter variable, but we can't.

Now, I understand where it comes from, it is by design, but I guess many of you have dealt with this before and I just wonder if there is some kind of design pattern that we can use to deal with AL0161?
Sign In or Register to comment.