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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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