About Apex InfoTech Information Services Products Consulting Online Courses Certifications Course Schedule Reserve your seat Search Apex InfoTech Home Page
Course ScheduleSearch by Course NumberPrint this documentEmail this documentRegister for this course

Development II: Introduction to X++ in Microsoft Dynamics™ AX 4.0
Course 8633: Two days; Instructor-Led

Introduction

This 2-day course introduces the student to development in Microsoft Dynamics AX 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++.

Audience

This course is intended for individuals who will be developing within Microsoft Dynamics AX 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. This course will be most beneficial for someone who is new to the concepts of object-oriented programming and programming using X++. Additionally, consultants who are responsible for training or supporting the customer will benefit from this course.

At Course Completion

After completing this course, students will be able to:
Understand the basics of X++ programming and the development tools needed
Understand object-oriented concepts in Microsoft Dynamics AX
Create basic application modifications using X++ constructs
Access the Microsoft Dynamics AX database using X++ code and catch exceptions throughout the program

Prerequisites

It is required that students have completed:
Development I: MorphX

Microsoft Certified Professional Exams

No Microsoft Certified Professional exams are associated with this course currently.

Course Materials

The student kit includes a comprehensive workbook and other necessary materials for this class.
Development II: Introduction to X++ Course Manual

Course Outline

Chapter 1: Introduction to X++

This chapter gives a foundation for understanding development using X++. The student will also be able to use the main development tools in Microsoft Dynamics AX.

Sections
What is X++?
Object-Oriented Programming
Development Tools
Jobs
Best Practices

Labs
Print to the Screen
Debug the Job
Create a Data Model

After completing this module, students will be able to:
Identify key features of developing with X++
Describe the basic foundation of Object-Oriented Programming
Understand the basics of development tools within Microsoft Dynamics AX
Know the foundations of Microsoft Dynamics AX's Development Best Practices

Chapter 2: Objects and Classes

This chapter discusses the concept of object-oriented programming and its relation to X++. By the end of this chapter, the student will have a solid foundation to develop in Microsoft Dynamics AX using object-oriented concepts.

Sections
Introduction to Objects, Methods, and Classes
Classes
Objects
Methods and Variables

Labs
Create a Class and a Method
Using Objects
Refine the Class and Method
Refine Using Objects
Using Variables
Create a Calculator Class

After completing this module, students will be able to:
Use the objects and classes within X++ development
Create a new class
Know how to instantiate objects
Understand the use of object and class methods
Use variables and understand scope within X++

Chapter 3: X++ Control Statements

This chapter 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.

Sections
X++ Constructs
Communication Tools

Labs
Create a Times Table
Create a Times Table Using a do while Loop
Create a Times Table Using a For Statement
Print Your Name
Create a New Job
Create an Infolog Tree
Use X++ Control Statements

After completing this module, students will be able to:
Understand Conditional Statements in X++
Create Loops in X++
Use built-in Functions in AX
Use the most basic X++ output commands
Aid in development using output commands
Communicate effectively with the end-user

Chapter 4: Accessing the Database

This chapter 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++.

Sections
Searching for Records
Data Manipulation
Queries

Labs
Accessing the Database

After completing this module, students will be able to:
Search for records using select and while select commands
Modify search criteria using sorting and ranging
Manipulate data by using insert, update, and delete functions
Understand how to use and build queries using kernel classes

Chapter 5: Exception Handling

This chapter 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.

Sections
What is Exception Handling?
Using the Try and Catch Commands
Throwing Exceptions
Infolog and Error Catching

Labs
Exception Handing
Handle an Exception
Test Your Skills

After completing this module, students will be able to:
Understand the exception handling mechanism in Microsoft Axapta
Use the Try, Catch, and Retry commands
Throw Exceptions
Know best practices with Infologs and exception handling

Appendix A: Solutions

This Appendix contains all the answers to chapter exercises, Test Your Knowledge, and Lab sections.