Tag: VsCode

Include Resources in extensions

Good news! Resource files can now be included as part of an extension. This new option enables developers to package essential resources, such as images, configuration settings, and text files, directly with their extensions, ensuring that all necessary components are readily accessible and improving overall performance. To add resources to the extension, the following property …

Continue reading

AL now supports the Continue statement

From runtime version 15, it is possible to use theย continueย keyword in loops to continue to the next iteration. (Please make sure that your “AL Language extension for Microsoft Dynamics 365 Business Central” is version 15.0 or above) The continue statement allows skipping the remaining code in a loop’s current iteration and jumping directly into the …

Continue reading

Do you know you can navigate directly to a symbol of a file in VS Code?

All you need to do is press “Ctrl” + P and type the object name you want to navigate to. Then press @. It will list all the object’s fields, functions, and triggers. You can select the place you want to jump into. Regards,Tharanga Chandrasekara

Do you specify the ๐‘๐ฎ๐ง๐“๐ซ๐ข๐ ๐ ๐ž๐ซ parameter?

When you call the Insert, Modify, or Delete functions, it is important to specify the ๐‘๐ฎ๐ง๐“๐ซ๐ข๐ ๐ ๐ž๐ซ parameter. If you do not include this parameter, the compiler assumes you ๐’…๐’ ๐’๐’๐’• ๐’˜๐’‚๐’๐’• to run the trigger. ๐‘จ๐’๐’˜๐’‚๐’š๐’” ๐’ƒ๐’† ๐’„๐’๐’†๐’‚๐’“ ๐’‚๐’ƒ๐’๐’–๐’• ๐’š๐’๐’–๐’“ ๐’Š๐’๐’•๐’†๐’๐’•๐’Š๐’๐’๐’”. For example:If you do not want to run the trigger, use:Record.Modify(๐Ÿ๐š๐ฅ๐ฌ๐ž); Avoid using:Record.Modify(); If …

Continue reading

VS Code Multi Screens (Floating editor windows)

If you are working with multiple screens, you might have been annoyed with VSCode many times because it does not support multiple screens very much. Sometimes, even on a single screen, you want to rearrange the vscode editor windows but struggle as vscode does not support that either. The great news is that it is …

Continue reading

Business Central Performance Profiler

If a business process takes longer than expected, your administrator can use the Performance Profiler page to record a snapshot of the process. While recording, the profiler monitors all of the apps that are involved in the process.

Quick fix for warning AL0604: Use of implicit ‘with’ will be removed in the future.

If you have not read my previous blog posts about the Implicit WITH, I suggest you read them to get a better understanding of the Implicit WITH. Also, you can read the Microsoft Docs to get more information as well. NoImplicitWith โ€“ The name #FieldName does not exist in the current context NoImplicitWith: The type …

Continue reading