Posts

Showing posts from July, 2020

Accessing AL Extension Source Code in BC

Image
For a while now, I've noticed that the Visual Studio Code feature that pulls up source code from other extensions (including system extensions) doesn't behave as one might expect.  Sometimes it pulls up the full object code and other times it pulls up a skeleton.  For instance, I just pulled up the definition for the Res. Journal Line table and this is what I got.  Nothing but field and variable declarations. Now look at what happens when I pull up the definition while debugging my extension in a Docker container. Notice the difference?  The results seem to be cached with the project, as once I've pulled the definition with the debugger active I can pull it again anytime and get the full source.  I don't believe this will work using a BC sandbox environment but if I find otherwise, I'll post it.