Download presentation
Presentation is loading. Please wait.
1
OP04 What is C/AL and Why Should I Care?
Luc van Vugt, MVP – fluxxus.nl
2
Your presenter Luc van Vugt, Owner fluxxus.nl Contact
17 years on Dynamics NAV 6 years Blogger - Van Vugt’s dynamiXs 5 years Microsoft MVP Dynamics NAV 5 years Co-Founder and Board Member Dutch Dynamics Community 1 year Member Credentialing Committee AoDP (DynamicsPro) 1 year NAV Skills Contact @lucvanvugt
3
Session objectives Help you answer the following questions
When is C/AL needed? What can C/AL do? What have these developers been programming?
4
Get to level with dev experts in 45 minutes
Session objectives Get to level with dev experts in 45 minutes ;-) Help you answer the following questions When is C/AL needed? What can C/AL do? What have these developers been programming? I hope :-$ This is normally a one day course!
5
AgenDA What is C/AL C/AL Building Blocks Readable C/AL 5
6
What is C/AL
7
Parlez-vous français? Qui?
8
Sprechen Sie Deutsch? Wer?
9
Spreekt u Nederlands? Wie?
10
Do you speak English? Who?
11
Do you speak C/AL? ?????
12
IF MyLanguage.GET('C/AL') THEN
MESSAGE('I speak C/AL')
13
IF MyLanguage.GET('C/AL') THEN
MESSAGE('I speak C/AL') ELSE ERROR('No speak no C/AL')
14
What is … C/AL
15
What is … ???????
16
What is … C/AL
17
Client / Application Language
What is … Client / Application Language
18
Client / Application Language
What is C/AL Client / Application Language
19
What is C/AL Programming language to … … make NAV do what cannot be achieved by setting properties.
20
What is C/AL In other words … … to implement business logic that cannot be achieved by setting properties.
21
C/AL Building Blocks
22
Long-Tall Luc C/AL Building Blocks Rocking-Chair Reading Lessons by …
TAB18 - Payment Method Code field TAB23 – Name field Let’s not be sissies and just open this 150 pager COD80 (Sales-Post) and see what we can make out of that.
23
Let’s Read NAV Long-Tall Luc C/AL Building Blocks
Rocking-Chair Reading Lessons by … Let’s Read NAV Long-Tall Luc Let’s not be sissies and just open this 150 pager COD80 (Sales-Post) and see what we can make out of that.
24
C/AL Building Blocks IF … THEN NOT COMMENTS BEGIN … END REPEAT … UNTIL
OR / AND WITH … DO EXIT
25
:= NEXT FIND FINDSET GET ; C/AL Building Blocks IF … THEN NOT COMMENTS
BEGIN … END REPEAT … UNTIL GET ; OR / AND FINDSET WITH … DO EXIT
26
MAKE C/AL Readable
27
Nerdy Code Readable Code Microsoft Dynamics 6/23/2018
© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
28
Development Task Create a script to make an invoice for customer number (The Cannon Group PLC) and item number (Side Panel)
29
Test if the Customer is Blocked
Create a New Document Test if the Customer is Blocked Read Customer 10000 Save the Document to the Database Create a Sales Line Test if the Item is Blocked Select Item 70000 Save Line to Database Open the Invoice Page
30
Readable Code I understand the steps required in this code, and the documentation is in there, right where I need it!
31
Nerdy Code Phew!!!
32
Natural Language Programming
In C/AL! Natural Language Programming Example in NAV: Codeunit Inventory Profile Offsetting
33
Q & A
34
Conclusion
35
Conclusion When is C/AL needed? What can C/AL do?
What have these developers been programming?
36
TAKE AWAY C/AL Since we left the classic client behind actually we no longer have C/AL (Client Application Language) , but AL. It’s primarily run on the service tier.
37
TAKE AWAY AL
38
Thank you for attending
Contact information Luc van Vugt, fluxxus.nl @lucvanvugt
39
Thank you for attending
Reminders: Please download the session slides from the NAVUG Congress Community or through the Congress App Please visit our Dynamics NAV help desk Monday evening in the Expo Please complete your session survey in the Congress App
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.