Course 80312. Development III in Microsoft Dynamics AX 2012


About this Course

This three-day instructor-led course puts the techniques learnt in Development I in Microsoft Dynamics AX 2012 and Development II in Microsoft Dynamics AX 2012 courses into practice directly in the application. It also introduces more advanced features of X++ and MorphX, and encourages the use of the Testing Framework to build for more reliable coding.

Audience Profile

The intended audience is experienced systems consultants typically working for a Microsoft Dynamics partner that is selling, consulting, implementing, and supporting Microsoft Dynamics AX 2012.

At Course Completion

After completing this course, students will be able to:

  • Create a test case.
  • Add methods to a test case.
  • Run a test case.
  • Build a test project and suite.
  • Isolate test cases appropriately.
  • Explain the MorphX development environment and the Application Object Tree
  • Program optimal database access using a «while select» statement.
  • Program optimal database access using queries.
  • Describe the caching mechanisms in Microsoft Dynamics AX.
  • Prevent and resolve database locking.
  • Use temporary tables in classes, forms, and reports.
  • List the reasons for using InitFrom methods.
  • Use ParmId and ParmTables.
  • Discuss date effectiveness and describe how to build date effective forms.
  • Add a computed column to a view.
  • Employ the various techniques available for integrating external data with Microsoft Dynamics AX.
  • Use collection classes to store data in X++.
  • List which application objects control different Graphical User Interface (GUI) components.
  • Modify and use the Application Substituted Kernel Classes.
  • Extend the RunBase framework to create new batch processes.
  • Transfer information using the Args object.
  • Identify the main sections that make up a form.
  • Add data sources to a form to define what data is displayed by the form.
  • Add controls to a form to display data.
  • Modify form methods to the control how the form behaves when it opens and closes.
  • Make decisions about where to place the code.
  • Make runtime modification of the fetch of data.
  • Explore the Application Object Tree (AOT) from Visual Studio.
  • Create a project in Visual Studio.
  • Write .NET managed code that uses X++ objects.
  • Deploy managed code.
  • Debug code using Visual Studio.
  • Configure how the workflow engine is executed on a server.
  • Specify which application module a workflow is applicable to using a workflow category.
  • Link tables to workflows using a query.
  • Create a new workflow type.
  • Apply a workflow to a form.
  • Define what happens when the workflow is approved or denied.
  • Create Event Handlers and apply them to a workflow.
  • Configure a workflow

Before attending this course, students must have:

  • working experience with Microsoft Dynamics AX and knowledge of Microsoft Dynamics AX 2012 development environment.
  • completed Course 80303A, Development I in Microsoft Dynamics AX 2012.
  • completed Course 80304A, Development II in Microsoft Dynamics AX 2012.

Course Outline

Module 1: X++ Unit Test Framework

This module describes how the X++ Unit Test framework allows for unit tests to be created along with the code they are designed to test.

Lessons

  • Introduction
  • Creating Test Cases
  • Adding Methods to Test Cases
  • Running Test Cases
  • Build Test Projects and Suites

Module 2: Working with Data

This chapter explains the correct approach to database functions when processing large amount of data in Microsoft Dynamics AX.

Lessons

  • Introduction
  • While Select
  • Query
  • Caching
  • Locking
  • Temporary Tables
  • InitFrom
  • ParmTables
  • Date Effectiveness
  • Computed Columns in Views
  • Data Integration

Module 3: Classes

This lesson introduces some of the most commonly used system classes, and demonstrates ways they can be used to support modifications.

Lessons

  • Introduction
  • Collection Classes
  • Application Object Classes
  • Application Substituted Kernel Classes
  • RunBase Framework
  • Args Object

Module 4: Forms

This module provides a comprehensive foundation for using forms in Microsoft Dynamics AX 2012 to interact with the end-user.

Lessons

  • Introduction
  • Architecture
  • Data Sources
  • Form Controls
  • Form Methods
  • Placement of Code
  • Additional Controls

Module 5: Visual Studio Integration

This module explains the Visual Studio tools built specifically for Microsoft Dynamics AX development.

Lessons

  • Introduction
  • Application Explorer
  • Visual Studio Projects
  • Managed Code Projects
  • Deploying Managed Code
  • Visual Studio Debugging Experience for X++

Module 6: Workflow

This module introduces the development side of creating a workflow. Workflow is a system in Microsoft Dynamics AX 2012 that allows business processes to be automated.

Lessons

  • Workflow Configuration
  • Create a Workflow Category
  • Create a Query
  • Create a Workflow Type
  • Enable Workflow on a Form
  • Create a Workflow Approval
  • Create Event Handlers
  • Author a Workflow

О курсе

Этот трехдневний курс является продолжением курсов Development I в Microsoft Dynamics AX 2012 и Development II в Microsoft Dynamics AX 2012 и является практической реализацией услышанного. Также в курсе рассматриваются продвинутые возможности на X++ и MorphX и возможности использования Testing Framework.

Профиль аудитории

Предназначается для опытных консультантов работающих в системе Microsoft Dynamics в области продажи, консалтинга, развертывания и поддержки системы.

По завершении курса

На курсе слушатели получат знания:

  • Создавать test case.
  • Добавлять методы в test case.
  • Запускать test case.
  • Создавать тестовый проект.
  • Изолировать test cases.
  • Детальное рассмотрение среды MorphX и дерева объектов — Application Object Tree
  • Оптимизация доступа к данным через инструкцию «while select».
  • Оптимизация доступа к базе через объекты queries.
  • Механизм кеширования в Microsoft Dynamics AX.
  • Изоляция блокировки.
  • Использование временных таблиц в классах, формах, таблицах и отчетах.
  • Причины использования методов InitFrom.
  • Использование ParmId и ParmTables.
  • Создание продвинутых форм.
  • Добавление расчитываемых колонок в представление.
  • Различные техники интеграции с внешними данными и Microsoft Dynamics AX.
  • Использование классов коллекций для хранения данных в X++.
  • Графические интерфейсы объектов приложения.
  • Использование Application Substituted Kernel классов.
  • Расширения структуры RunBase для создания пакетной обработки.
  • Передача информации между объектами с помощью Args.
  • Определение главных секций формы.
  • Добавление источников данных в формы для отображения данных в них.
  • Добавление элементов управления на форму для отображения данных.
  • Изменение методов формы для обработки событий открытия и закрытия.
  • Рассмотрение места размещения кастомного кода.
  • Создание исполняемых модификаций для вывода данных.
  • Просмотр дерева объектов Application Object Tree (AOT) из Visual Studio.
  • Создание проекта в Visual Studio.
  • Написание управляемого кода .NET, использующего объекты .
  • Развертывание управляемого кода.
  • Отладка кода с помощью Visual Studio.
  • Настройка документооборота, используемого на сервере.
  • Определение модуля приложения документооборота с помощью workflow category.
  • Связывание таблиц и документооборота с использованием объекта query.
  • Создание нового типа документооборота.
  • Добавление документооборота на форму.
  • Определение событий при одобрении или отклонении документооборота.
  • Создание обработчика событий и добавление в документооборот.
  • Настройка документооборота.

Перед курсом слушатели должны:

  • Иметь опыт работы в Microsoft Dynamics AX и знание технических возможностей среды разработки.
  • Прослушать курс 80303A, Development I in Microsoft Dynamics AX 2012.

Прослушать курс 80304A, Development II in Microsoft Dynamics AX 2012

Глава 1: X++ структура Unit Test

В этой главе описывается структура тестирования Unit Test на X++, позволяющая создавать тесты для вновь созданного кода.

Глава 2: Работа с данными

В этой главе объясняются правильные методы доступа к базе данных при больших объемах выборки в Microsoft Dynamics AX.

Глава 3: Классы

В этой главе разъясняется некоторые наиболее часто используемые системные классы.

Глава 4: Формы

Эта глава содержит сравнительный обзор модификаций для форм в Microsoft Dynamics AX 2012.

Глава5: Интеграция с Visual Studio

В этой главе рассматриваются специализированные инструменты Visual Studio tools для Microsoft Dynamics AX.

Глава 6: Документооборот

В этой главе рассматривается разработка документооборота. Документооборот в Microsoft Dynamics AX 2012 позволяет автоматизировать процессы