DEVI - Introduction to C/AL Programming - Accessing C/AL
Posted by: kaizenlog in Navision, tags: DEVI - Introduction to C/AL Programming - Accessing C/AWelcome to Kaizenlog.com If you're new here, you may want to subscribe to my RSS feed , Twitter You can contact us by using the contact form or submitting a comment. Thanks for visiting!
DEVI - Introduction to C/AL Programming - Accessing C/AL
Accessing C/AL
Start the Object Designer
Tools –> Object Designer.
View CodeUnit Objects
Object Designer –> CodeUnit
Select an Object
Select CodeUnit and click on it.
Look at the C/AL Code
Select CodeUnit –> Design.
Shaded bar is a trigger.
Code below shaded bar is the trigger code.
If there is no code, then it is empty.
There are three kinds of triggers:
- Documentation trigger - used to write documentation. Every object has a documentation trigger.
- Event trigger - name of trigger starts with “On”. Code is executed when named event occurs.
- Function trigger - triggers are created when you create a “function” in an object.
Closing an Object
Close the C/AL Editor by clicking close box or pressing the ESC key.
If you have changed code, a screen comes up asking you whether you want to save and compile.
Look at the C/AL Code in a Table Object
Press table button in Object Designer.
Select table.
Press design button.
To get to the C/AL code, you must open the C/AL editor.
Press the C/AL button or F9.
Popularity: 5% [?]
Listen to this podcast
Print This Post









Entries (RSS)