Ali Raza Zaidi
MVP (Dynamics Ax)
Advisory Software
Engineer At Systems
Limited.
Microsoft Dynamics Ax 2012
Development Overview
 Dynamics AX 2012 Features and History
Modules
 Dynamics AX Development Pattern
 Dynamics Ax 2012 Navigation and layout
overview.
 Dynamics Ax architecture
 Overview of X++
 Short Introduction to AIF
 Q&A
Agenda
2






 Completely integrated ERP solution
 One business logic, one database
 Easily recognize the dependencies of
business activities
 Rich functionality
 State-of-the-art technology
 Layer technology
 Integrated Development environment
 Three-tier architecture
 Suitable for midsize and large
organizations
Dynamics AX 2012
4





















Development Patterns In
Dynamics Ax 2012


















Dynamics Ax 2012 Clients
Navigational Overview.
5/31/2014 13
Client Workspace

5/31/2014 16
5/31/2014Footer Text 17
5/31/2014Footer Text 18




5/31/2014Footer Text 19
5/31/2014Footer Text 20

5/31/2014Footer Text 21
5/31/2014Footer Text 22

5/31/2014Footer Text 23
5/31/2014Footer Text 24



5/31/2014Footer Text 25

5/31/2014Footer Text 26

5/31/2014Footer Text 27

5/31/2014Footer Text 28

5/31/2014Footer Text 29
Dynamics Ax Architecture and
Layers




































Layer Description
USR The user layer is for user modifications, such as reports.
CUS The customer layer is for modifications that are specific to a company.
VAR Value Added Resellers (VAR) can make modifications or new developments to the VAR
layer as specified by the customers or as a strategy of creating an industry specific
solution.
ISV When an Independent Software Vendor (ISV) creates their own solution, their
modifications are saved in the ISV layer.
SLN The solution layer is used by distributors to implement vertical partner solutions.
FPK The FPK layer is an application object patch layer reserved by Microsoft for future
patching or other updates. For more information, see Patch Layers.
GLS When the application is modified to match country or region specific legal demands,
these modifications are saved in the GLS layer.
SYS The standard application is implemented at the lowest level, the SYS layer. The
application objects in the standard application can never be deleted








Topics
• Application Object Tree
• Labels
• Table Structure and Components
• Views
• Maps
• Base Enums
• Extended Data Types
• Table Collections:
• Projects





Create New Label File:
Tables:
Creating a Table:
Indexes :
System Index
Relations:
Data Types – Primitive and Extended
Primitive Data Types
Extended Data Types
Delete Actions:
Methods:
query
Base Enums :










 joined

 foreign key
 override

 Transaction support
 Table browser form

Projects:



















 Naming conventions contribute to consistency and to making
the application easier to understand.










Data Type Declaration
Keyword
Description/Example
String str “any string”
Integer int 2356
Real Real 3.14
Date date 24112010
Enum Must be declared
as a Base Enum first
Enum values are represented
internally as Integers.
Boolean boolean True/False
Time timeOfDay 15:23:08
utcDateTime utcDateTime 9/28/2008
07:11:02 am
Guid guid Global Unique Identifier, a reference
number which is unique in any context
Int64 Int64 A large integer, represent by 64 bits.
Variable Declaration:
Array Declaration:
Containers:









Operators:
a) Assignment operators
Operator Term Description
= Becomes equal
to
Assigns the expression on the right of the
equal sign to the variable on the left.
+= Increments the variable on the left by the
value on the right.
++ Increments the variable on the left by 1.
-= Decrements the variable on the left by the
value on the right.
-- Decrements the variable on the left by 1.
Operators:
b) Arithmetic operators
Operators:
c) Relational operators
Operator Precedence:
Conditional Statements
a) If Statement
Conditional Statements
b) Switch statement
Conditional Statements
c) Ternary Operator
Loops
a) while loop
Loops
b) Do...while statement
Loops
c) For loop
Built-in functions:


Example
Communication Tools:



Communication Tools:
The print command
Communication Tools:
Infolog


Usage Example:
Communication Tools:
Boxes



Example
Communication Tools:
Dialog


Example

How to create a Class
6.



Inheritance:

Syntax:
Method Types:
a) Static Methods

Main Method
Display Methods
Method Types:
d) Accessor

Tables as Classes
In Dynamics Ax 2012
Select
// To Loop Records









Transaction Integrity Checking


Create
Update:
Delete
Queries:


Queries Using X++:






Queries Using X++:
Accessing data from Different Companies:
Exception:


Exception Example:
Short introduction to AIF
Framework


























Dynamics ax 2012 development overview