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.


Discover more from Business Central | AL Development | SaaS Upgrade | API Integration

Subscribe to get the latest posts sent to your email.

5 responses to “How to convert long code into Procedure in AL/Business Central.”

  1. […] How to convert long code into Procedure in AL/Business Central. […]

  2. afw Avatar
    afw

    What version is used? I cannot get this option. But I got the convert implicit With.

    1. Ammolh Saallvi Avatar

      This is a code action. You should get it from last version of AL to

      1. absolutelyfreeweb Avatar
        absolutelyfreeweb

        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?

    2. Ammolh Saallvi Avatar

      This is a code action. You should get it from last version of AL too

Leave a Reply

238,562 hits

Discover more from Business Central | AL Development | SaaS Upgrade | API Integration

Subscribe now to keep reading and get access to the full archive.

Continue reading

Discover more from Business Central | AL Development | SaaS Upgrade | API Integration

Subscribe now to keep reading and get access to the full archive.

Continue reading