Course 80304. Development II in Microsoft Dynamics AX 2012
About this Course
This two-day instructor-led course introduces students to the tools available in Microsoft Dynamics AX 2012 development environment.
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:
- Identify key features of developing with X++.
- Describe the 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.
- 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.
- 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.
- Examine the exception handling mechanism in Microsoft Dynamics AX.
- Use the Try, Catch, and Retry statements.
- Throw an exception from code.
- Identify and 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.
Before attending this course, students must have:
- working experience with Microsoft Dynamics AX and some knowledge of technical features of Microsoft Dynamics AX 2012 architecture and development environment.
- completed Course 80303A, Development I in Microsoft Dynamics AX 2012.
Course Outline
Module 1: Introduction to X++
This module introduces the students to the characteristics of X++.
Lessons
- Introduction
- Characteristics of X++
- Development Tools
- Reverse Engineering
- Best Practices
Module 2: X++ Control Statements
This module explains how to use control statements in X++.
Lessons
- Introduction
- Introduction to Variables
- Operators
- Conditional Statements
- Loops
- Built-in Functions
- Communication Tools
Module 3: Classes and Objects
This module discusses how to use classes and objects within Microsoft Dynamics AX 2012.
Lessons
- Introduction
- Classes
- Method Access Control
- Inheritance
- Objects
- Scoping and Parameters in X++
- Methods
- Referencing Object Methods
- Method Types
- Table as Classes
- Eventing
Module 4: Accessing the DatabaseThis module explains how to develop modifications that interact with the database.Lessons
- Introduction
- Retrieving Data
- Data Manipulation
- Queries
Module 5: Exception Handling
This module discusses the mechanisms built in Microsoft Dynamics AX 2012 to help with exception handling.
Lessons
- Introduction
- Exceptions
- Try and Catch Exceptions
- Throwing Exceptions
- Optimistic Concurrency Exceptions
Module 6: Security for Developers
This module introduces some more advanced security features of Microsoft Dynamics AX 2012.
Lessons
- Introduction
- Permissions
- Security Policies
- Code Access Security
- Display Method Authorization
О курсе
Это двухдневный курс предлагает слушателям инструментарий разработки в системе Microsoft Dynamics AX 2012.
Профиль аудитории
Предназначается для опытных консультантов работающих в системе Microsoft Dynamics в области продажи, консалтинга, развертывания и поддержки системы.
По завершении курса
На курсе слушатели получат знания:
- Ключевые возможности разработки на X++.
- Базовые навыки объектно ориентированного программирования.
- Использование доступных в Microsoft Dynamics AX 2012 сред разработки.
- Создание объекта и модели данных элемента приложения с помощью Reverse Engineering tool.
- Использование правил хорошего тона программирования для написания кода.
- Объявление и использование расширенных типов данных.
- Использование различных операторов в X++.
- Операторы условия в X++.
- Использование операторов цикла для повторного использования одинаковых блоков кода.
- Использование стандартных функций, которые есть в приложении.
- Использование команд вывода и сообщений.
- Использование классов при разработке в системе Microsoft Dynamics AX 2012.
- Управление доступом в методах с помощью модификаторов.
- Использование наследования в классах.
- Различие между объектом и классом.
- Инициализация переменных и области видимости.
- Вызов методов в одном и том же классе.
- Использование других модификаторов в методах.
- Одинаковое и различное между таблицей и классом.
- Использование публикатора событий при изменении кода приложения.
- Получение данных из базы с помощью инструкции select.
- Создание, обновление и удаление данных в базе.
- Использование и построение объекта query с помощью классов ядра.
- Обработка исключительных ситуаций в Microsoft Dynamics AX.
- Использование инструкций Try, Catch и Retry.
- Обработка исключения.
- Написание кода с использованием оптимистической модели разрешения транзакций.
- Настройка разрешений на элемент приложения.
- Создание политик безопасности.
- Использование безопасного вызова Application Programming Interfaces (APIs) с использованием Code Access Security.
- Аутификация возвращаемых значений в методах отображения.
Перед курсом слушатели должны:
- Иметь опыт работы в Microsoft Dynamics AX и знание технических возможностей среды разработки.
- Прослушать курс 80303A, Development I in Microsoft Dynamics AX 2012
Содержание курса
Глава 1: Введение в X++
Эта вводная глава в X++.
Глава 2: Управляющие конструкции на X++
В этой главе рассказывается, как использовать управляющие конструкции в X++.
Глава 3: Классы и объекты
В этой главе рассказывается, как использовать классы и объекты в Microsoft Dynamics AX 2012.
Глава 4: Доступ к базе данных
В этой главе рассказывается, как взаимодействовать с базой данных.
Глава 5: Обработка исключений
В этой главе рассказывается, как обрабатывать исключительные ситуации в Microsoft Dynamics AX 2012.
Глава 6: Безопасность для разработчиков
В этой главе рассказывается, как использовать продвинутые возможности безопасности в Microsoft Dynamics AX 2012.

