How to convert long code into Procedure in AL/Business Central.

With the different code actions it is very easy to convert your long code into procedures. Just a small tip to convert to your long code into smaller procedures.

To enable to code actions

Hope this will help you.

Stay tuned for more.

5 thoughts on “How to convert long code into Procedure in AL/Business Central.

      1. Hi, Ammolh, Yes I understand it is a code action, I can get code action to change with statement, and convert if..else to case statement, and even to add missing parenthesis after function calls, but I haven’t been able to create new function. Does it have to be inside a codeunit? Does it have to be very long code?

        Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.