Course Outline
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
-
Characteristics X++
-
Development Tool
-
Reverse Engineering
-
Best Practices
Lab : 1.1
Lab : 1.2
Lab : 1.3
Lab : 1.4
-
Create an XML developer document
After completing this module, 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.
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
-
Introduction to variables
-
Operators
-
Conditional statements
-
Loops
-
Built-in functions
-
Communication Tools
Lab : 2.1
Lab : 2.2
-
Create a Times Table Using a do while Loop
Lab : 2.3
-
Create a Times Table Using a For Statement
Lab : 2.4
Lab : 2.5
Lab : 2.6
Lab : 2.7
-
Use X++ Control Statements
After completing this module, students will be able to:
-
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.
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
-
Classes
-
Inheritance
-
Objects
-
Scoping and parameters in X++
-
Referencing object methods
-
Method types
-
Tables and Classes
Lab : 3.1
Lab : 3.2
Lab : 3.3
Lab : 3.4
Lab : 3.5
-
Create a Calculator Class
After completing this module, students will be able to:
-
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.
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
-
Retrieving data
-
Data Manipulation
-
Queries
Lab : 4.1
Lab : 4.2
Lab : 4.3
After completing this module, students will be able to:
-
Retrieve data from the database using a select statement.
-
Create, update and delete data in the database.
-
Use and build queries using kernel classes.
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
-
Exceptions
-
Try and Catch Commands
-
Throwing Exceptions
-
Optimistic Concurrency Exceptions
Lab : 5.1
After completing this module, students will be able to:
-
Examine the exception handling mechanism in Microsoft Dynamics AX.
-
Use the Try, Catch, and Retry commands.
-
Throw an exception from codeIdentify and create code used to handle optimistic concurrency exceptions.
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
-
Create a workflow category
-
Create a workflow template
-
Create a workflow document
-
Create a workflow approval
-
Enable workflow on a form
-
Configure a workflow
Lab : A.1
-
Add another condition to the Submit Action
After completing this module, students will be able to:
-
Identify the components required prior to using workflow.
-
Specify which application module a workflow is applicable to using a workflow category.
-
Create a new workflow template.
-
Link tables to workflows using a workflow document.
-
Define what happens when the workflow is approved or denied.
-
Apply a workflow to a form.
-
Configure a workflow.
|