2. Microsoft Dynamics AX 2012Development Introduction Features Architecture Data Dictionary User Interface X++ Intro X++ Control Statements Objects and Classes Accessing the Database Exception Handling
3. FeaturesMicrosoft Dynamics AX 2012 High flexibility; Microsoft Office look and feel; Integrated development environment for developing; Visual Studio integration; Uniform and compact viewing repository (Application Object Tree); Drag-and-drop functionality; Projects help organize and track customized applications.
5. ArchitectureMicrosoft Dynamics AX 2012Three-Tier ArchitectureThree-tier architecture is defined as having a separate database, server and client: The client application allows users to connect to the server to access business logic and use the data in the database. The server runs the application business logic. The database stores the data.
6. ArchitectureMicrosoft Dynamics AX 2012Extended Architecture - The following image describes a typical system architecture that includes othercomponents of the Microsoft technology stack:
7. ArchitectureMicrosoft Dynamics AX 2012Client WorkspaceThe client workspace is the standard interface that an end-user uses and consists of various components:
8. ArchitectureMicrosoft Dynamics AX 2012List Pages - The primary method of displaying data in Microsoft Dynamics AX. They can show lots of datafrom many tables, in a number of formats. They have consistent designs and functions.
9. ArchitectureMicrosoft Dynamics AX 2012Development EnvironmentsThe development environments (IDE) that can be used with AX 2012 are: MorphX IDE The most commonly used environment; Provides easy access to the elements with the Application Object Tree (AOT); Drag-and-drop techniques; X++ language. Microsoft Visual Studio Integrated through Visual Studio Tools for Microsoft Dynamics AX; Close integration between MorphX and Visual Studio; Creating and customizing SSRS reports, Enterprise Portal web development and any managed code development.
10. ArchitectureMicrosoft Dynamics AX 2012Development EnvironmentsThe following element types make up part of the application: Fields and Tables define data structure. Forms and Menus define how a user interacts with the application. Classes and Methods are code objects that define business logic.Object-oriented design and Inheritance are key concepts that form the basis of the application.
11. ArchitectureMicrosoft Dynamics AX 2012MorphX IDE
12. ArchitectureMicrosoft Dynamics AX 2012Microsoft Visual Studio
13. ArchitectureMicrosoft Dynamics AX 2012LayersApplication object layers hold all elements that are displayed in the AOT.There are eight application object layers available. Each of these layers also has a patch layer making a totalof sixteen layers. Microsoft-only: SYS/SYP: System Layer GLS/GLP: Globalization Layer FPK/FPP: Feature Pack Layer Partners and ISV: SLN/SLP: Solution Layer ISV/ISP: Independente Software Vendor Layer VAR/VAP: Value Added Reseller Layer Partners and Customers: CUS/CUP: Customer Layer USR/USP: User Layer
15. ArchitectureMicrosoft Dynamics AX 2012Models A model is a logical grouping of elements within a layer. Models help in situations where multiple ISV solutions or projects must operate together. An element can exist in exactly one model in a layer. New models are easy to create in the MorphX IDE and are applied when modifying or adding objects in the AOT.
16. DATA DICTIONARY Microsoft Dynamics AX 2012 Topics Application Object Tree Table Structure and Components Data Types Labels Projects Jobs
17. Data DictionaryMicrosoft Dynamics AX 2012Application Object Tree The Application Object Tree is a tree view of all application elements in Dynamics AX; Each branch node contains a different application element type; Create or modify Microsoft Dynamics AX application elements using drag-and-drop functionality;
18. Data DictionaryMicrosoft Dynamics AX 2012Application Object TreeTable Structure and Components There are seven categories that define tables: Fields Field Groups Indexes Full Text Indexes Relations Delete Actions Methods
19. Data DictionaryMicrosoft Dynamics AX 2012Application Object TreeData Types: Primitive and Extended Primitive Data Types: Extended Data Types: String EDTs extend primitive data types or other EDTs. Integer Real The benefit of creating EDTs is the reuse of their Date properties. Time UTCDateTime A table field that is created based on an EDT will also Enum inherit properties from that EDT, and the properties of Container many fields can change at one time by changing the GUID properties on the EDT. Int64 Boolean
20. Data DictionaryMicrosoft Dynamics AX 2012Application Object TreeLabelsLabels are used to provide the language text that end-users see when using the application. Label Editormakes it easier to manage multiple languages and to adapt to company specific language:
21. Data DictionaryMicrosoft Dynamics AX 2012Application Object TreeProjectsProjects help organize and track customized applications, grouping allyour modifications in Microsoft Dynamics AX.Private projects are visible to the user creating them and shared projectare visible to everyone.
22. Data DictionaryMicrosoft Dynamics AX 2012Application Object TreeJobsA job is a stand-alone block of code in Microsoft Dynamics AX that can be run from the X++ editor. Jobs areuseful for testing blocks of code before inserting them into methods or classes.