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 them 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 Dynamics NAV 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 code. The standards can be found in the C/AL programming guide. The guide can be found published on MSDN at:
https://msdn.microsoft.com/en-us/library/dd355277(v=nav.90).aspx.