Microsoft Dynamics AX (Axapta) 2009 Development II (80012)

Printer-friendly version
Vendor: 
Subject: 
ERP
Overview: 

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

Course Contents: 

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 Print to the Screen
    Lab : 1.2 Debug the Job
    Lab : 1.3 Create a Data Model
    Lab : 1.4 Create an XML developer document

    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 Create a Times Table
    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 Create a YesNo box
    Lab : 2.5 Create an Infolog Tree
    Lab : 2.6 Create a dialog box
    Lab : 2.7 Use X++ Control Statements

    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 Create a new class
    Lab : 3.2 Instantiate a class
    Lab : 3.3 Use method parameters
    Lab : 3.4 Create a run method
    Lab : 3.5 Create a Calculator Class

    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 Retrieving data
    Lab : 4.2 Update data
    Lab : 4.3 Create a query using X++

    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 Handle an Exception

    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.
  • Prerequisites: 

    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:

  • Working knowledge of object oriented programming (OOP)
  • Benefits: 

    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.

    Audience: 

    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.

    Duration: 
    16 hours
    For more information on Microsoft Dynamics AX (Axapta) 2009 Development II (80012) please feel free to contact us online or call us at 416-513-1535.