Download as pdf or txt
Download as pdf or txt
You are on page 1of 127

Microsoft Dynamics Ax 2012

Development Overview

Ali Raza Zaidi


MVP (Dynamics Ax)
Advisory Software
Engineer At Systems
Limited.
Agenda
 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
2






Dynamics AX 2012
 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 4



















Development Patterns In
Dynamics Ax 2012















Dynamics Ax 2012 Clients
Navigational Overview.
5/31/2014 13
Client Workspace

5/31/2014 16
Footer Text 5/31/2014 17
Footer Text 5/31/2014 18


Footer Text 5/31/2014 19


Footer Text 5/31/2014 20

Footer Text 5/31/2014 21


Footer Text 5/31/2014 22

Footer Text 5/31/2014 23


Footer Text 5/31/2014 24

Footer Text 5/31/2014 25


Footer Text 5/31/2014 26


Footer Text 5/31/2014 27


Footer Text 5/31/2014 28


Footer Text 5/31/2014 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 Description/Example
Keyword
String str “any string”
Integer int 2356
Real Real 3.14
Date date 24\11\2010
Enum Must be declared Enum values are represented
as a Base Enum first 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 Assigns the expression on the right of the


to 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
















You might also like