Book Image

Programming Microsoft Dynamics??? NAV 2015

Book Image

Programming Microsoft Dynamics??? NAV 2015

Overview of this book

Table of Contents (19 chapters)
Programming Microsoft Dynamics™ NAV 2015
Credits
Foreword
About the Authors
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. Introduction to C/SIDE and C/AL

 

"Language shapes the way we think, and determines what we can think about."

 
 --Benjamin Lee Whorf
 

"Quality means doing it right when no one is looking."

 
 --Henry Ford

So far we have reviewed the basic objects of NAV 2015: tables, data fields, pages, queries, and reports. For each of these, we also reviewed the different triggers in various areas – triggers whose purpose is to be containers for C/AL code. When triggers are "fired" (invoked), the C/AL code within is executed.

In this chapter, we're going to start learning the C/AL programming language. Many of the things you may already know from your experience of programming in other languages. Some of the basic C/AL syntax and function definitions can be found in the embedded NAV 2015 Help (as well as in the MSDN Library sections for Microsoft Dynamics NAV).

As with most of the programming languages, we have considerable flexibility for defining our own model for our code structure. However, when...