[Extensibility Enhancement] Codeunit 408 "Dimension Management" - GetGLSetup procedure
Could you make GetGLSetup global?
Thanks :)
Can you please explain with code how you are going to use it in extension code?
Hi,
Se image below:

This is customization of codeunit 408, correct? If we make this function global, how you are going to use it in your extension code? this function set internal variable GLSetupShortcutDimCode, which is not available outside of this codeunit. Do you need some events instead?
can GLSetupShortcutDimCode be a global variable? I do not need an event, as you can see from the image i posted, i need to know the dimension.
GLSetupShortcutDimCode is global variable in codeunit Dimension Management, but we cannot use protected attribute in codeunits. Instead, we need to add this as parameter for GetGLSetup(var GLSetupShortcutDimCode: array[8] of Code[20]). In this case you can call this procedure and get this variable in extension. Is it ok for you?
That is perfect! Thank you.
Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.