AL icon indicating copy to clipboard operation
AL copied to clipboard

DOTNET variables are not supported with AL Extension for NAV, we can see the variables but we cannot use its classes.

Open rishiaurrishabh opened this issue 8 years ago • 4 comments

Before logging a new issue please make sure to:

  1. Read the FAQ
  2. Search if there is an existing issue for what you want to log. If it's closed you can reopen it and add your comments.
  3. Use the latest Developer Preview release both the server part and the AL Language extension in VS Code (listed on the repository home page)
  4. If you're not using the latest released version (or are using a private build drop that is newer) please provide the version number in the issue

To help us reproduce the issue and find the root please try to: A) Attach a minimal set of AL code that causes the issue B) If the error occurs on the server - copy/paste the server stack trace from the Event Viewer

rishiaurrishabh avatar Jun 05 '18 12:06 rishiaurrishabh

Hi @rishiaurrishabh . Could you please explain what you mean?

atoader avatar Jun 06 '18 06:06 atoader

Hi @atoader , I mean that on AL Code I can see that there is a variable for dotnet but when try to use that variable for ex- TableList of in the same way we have it on BuildDynamicRequestPage function of COD1530 so I am not able to find class for System.Collections.ArrayList.'mscorlib'. I understand that for some of the dotnet variable like xml's I have alternate option in AL but still not all of them are available to use in AL.

rishiaurrishabh avatar Jun 06 '18 06:06 rishiaurrishabh

Hi @rishiaurrishabh ! In the FAQ : https://github.com/Microsoft/AL/wiki/Frequently-Asked-Questions#dotnet-types-are-not-available-in-extensions-v2-what-now . Right now, we do not support .NET interop.

atoader avatar Jun 06 '18 09:06 atoader

In the following weeks we will provide an update on this topic.

atoader avatar Jun 06 '18 09:06 atoader