This 2-day course introduces the student to development in Microsoft Dynamics AX 2009 using X++. This course starts with learning the basics of X++ and its relationship to object-oriented programming in addition to the tools that are required to develop in Microsoft Dynamics AX. The student then learns more about specific control structures, accessing the database using X++, and handling exceptions in Microsoft Dynamics AX. This course is meant to be an introductory course to development in Microsoft Dynamics AX using X++.
Module 1: Introduction to X++
This module gives a foundation for understanding development using X++. The student will also be able to use the main development tools in Microsoft Dynamics AX
Lessons
Module 2: X++ Control Statements
This module focuses on programming constructs in X++, such as loops, conditional statements, and functions. In addition, the student will be able to effectively communicate with the end-user using X++ output commands.
Lessons
Module 3: Objects and Classes
This module discusses the concept of object-oriented programming and its relation to X++. By the end of this module, the student will have a solid foundation to develop in Microsoft Dynamics AX using object-oriented concepts.
Lessons
Module 4: Accessing the Database
This module discusses developing modifications that interact with the Microsoft Dynamics AX database. This functionality is frequently needed, making this an important topic in learning development with X++.
Lessons
Module 5: Exception Handling
This module discusses how programs handle exceptions that occur when code is executed. This is an important skill in all programming to make the application execute more efficiently.
Lessons
Module 6: Appendix A: Workflow
This Appendix contains an optional self-study lesson on workflow within Microsoft Dynamics AX 2009. By following the procedures in this lesson, students will be able to create and configure simple workflows.
Lessons
Before attending this course, students must have:
Completed Course 80011: Development I in Microsoft Dynamics AX 2009
In addition, it is recommended, but not required, that students have:
After completing this course, students will be able to:
Identify key features of developing with X++.
Describe the basic foundation of object-oriented programming.
Use the development tools available within Microsoft Dynamics AX
Create object and data models from existing application elements using the Reverse Engineering tool.
Use best practices to instill good programming habits.
Use the data types that can be used for variables and how to declare and use them.
Use the various operators available and where to use them.
Control program flow using conditional statements in X++.
Call the same blocks of code using Loop statements.
Use standard functions that are built in to the application.
Use output commands to display data and messages to the user.
Use the classes within Microsoft Dynamics AX 2009 X++ development.
Extend a class using the concept of inheritance.
Describe the differences between an object and a class.
Initialize variables in the appropriate place according to scoping rules.
Call methods within the same class.
Use the different method types available.
Describe the similarities and differences between tables and classes.
Retrieve data from the database using a select statement.
Create, update and delete data in the database.
Use and build queries using kernel classes.
Examine the exception handling mechanism in Microsoft Dynamics AX.
Use the Try, Catch, and Retry commands.
Throw an exception from code.
Identify and create code used to handle optimistic concurrency exceptions.
This course is intended for someone who is new to the concepts of object-oriented programming and programming using X++. This audience typically includes technical consultants who will be working with Microsoft Dynamics AX to develop customizations and modifications to meet clients' needs. Additionally, consultants who are responsible for training or supporting the customer will benefit from this course. This is the second course in the AX Development track and will serve as the entry point for the Development III & IV courses.