Duration: 2 Days
In this course, you will be introduced to the tools available in Microsoft Dynamics AX 2012 development environment.
Certification:
This is a part of the Dynamics AX 2012 Developer (MB6-869) exam.
What You Will Learn
- Key features of developing with X++
- Basic foundation of object-oriented programming
- Use the development tools available within Microsoft Dynamics AX 2012
- Create object and data models from existing application elements by using the Reverse Engineering tool
- Use best practices to instill good programming habits
- Declare and use extended data types for variables
- Use the various operators available in X++
- Control program flow using conditional statements in X++
- Repetitively call the same blocks of code by 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 2012 X++ development
- Control access to methods using Access Control Method Modifiers
- Extend a class using the concept of inheritance
- 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
- Use the eventing publisher and subscriber model when modifying code in the application
- Retrieve data from the database using a select statement
- Create, update, and delete data in the database
- Use and build queries using kernel classes
- Exception handling mechanism in Microsoft Dynamics AX
- Use the try, catch, and retry statements
- Throw an exception from code
- Create code used to handle optimistic concurrency exceptions.
- Set permissions on application elements
- Design and create security policies
- Secure unsafe Application Programming Interfaces (APIs) using the Code Access Security framework
- Authenticate data returned from display methods
Audience
Experienced systems consultants typically working for a Microsoft Dynamics partner that is selling, consulting, implementing, and supporting Microsoft Dynamics AX 2012
Prerequistes
- Working experience with Microsoft Dynamics AX and some knowledge of technical features of Microsoft Dynamics AX 2012 architecture and development environment
Course Outline
1. Introduction to X++
- Characteristics of X++
- Development Tools
- Reverse Engineering
- Best Practices
2. X++ Control Statements
- Introduction to Variables
- Operators
- Conditional Statements
- Loops
- Built-In Functions
- Communication Tools
3. Classes and Objects
- Classes
- Method Access Control
- Inheritance
- Objects
- Scoping and Parameters in X++
- Methods
- Referencing Object Methods
- Method Types
- Table as Classes
- Eventing
4. Accessing the Database
- Retrieving Data
- Data Manipulation
- Queries
5. Exception Handling
- Exceptions
- Try and Catch Exceptions
- Throwing Exceptions
- Optimistic Concurrency Exceptions
6. Security for Developers
- Permissions
- Security Policies
- Code Access Security
- Display Method Authorization
Course Labs
Lab 1: Print to the Screen
Lab 2: Debug the Job
Lab 3: Create a Data Model
Lab 4: Create an XML Developer Document
Lab 5: Create a Times Table Using a While Loop
Lab 6: Create a Times Table Using a Do.while Loop
Lab 7: Create a Times Table Using a for Statement
Lab 8: Create a YesNo Box
Lab 9: Create a Infolog Tree
Lab 10: Create a Dialog Box
Lab 11: Use X++ Control Statements
Lab 12: Create a New Class
Lab 13: Allow Access to Methods
Lab 14: Instantiate a Class
Lab 15: Use Method Parameters
Lab 16: Create a Run Method
Lab 17: Create a Calculator Class
Lab 18: Retrieve Data
Lab 19: Update
Lab 20: Create Query Using X++
Lab 21: Handle an Exception