Formatting customized code
Your customized code should look like the standard code. Keep in mind that any code you write today will probably be maintained by others in the future. If you follow your own programming conventions, we are pretty sure you'll find it easier to write and read. Unfortunately, others may not be used to your conventions, so you'll be making their lives a lot harder.
All Microsoft Dynamics NAV and Microsoft Dynamics 365 Business Central on-premise developers are used to reading code from the standard application. If everyone writes customized code like the standard application does, everybody will only be able to read their own code. To make it easy to maintain an application, it is important to follow a few strict guidelines while writing C/AL or AL code, the standards can be found in the C/AL programming guide and AL programming guide.
Note
The C/AL guide can be found published on MSDN at https://docs.microsoft.com/en-us/dynamics-nav/programming-in-c-al. The AL guide...