SlideShare uma empresa Scribd logo
1 de 33
Microsoft Dynamics Ax 2012
Development Introduction
By

Ali Raza Zaidi
Alirazaz.zaidi@systemsltd.com
Contents
•
•
•
•
•
•
•
•
•
•
•
•

Objective.
Features
Microsoft Dynamics AX 2012 Architecture
Data Dictionary
Non-graphical Objects
Forms
X++ Overview
X++ Control Statements
Classes and Objects
Accessing the database
Exception Handling
Conclusion
Objective

"To present profoundly overview
of Microsoft Dynamics Ax
Development Introduction.“
Why Microsoft Dynamics AX?
 Microsoft Dynamics AX core strengths are
in manufacturing and distribution. More than 60% of
Microsoft Dynamics AX users are from these industries.
 Microsoft Dynamics AX allows you to share and update
information across the company in real time,
across multiple sites and in multiple countries. Microsoft
Dynamics AX is an all-inclusive, company-wide ERP
system that customizes to your business.
 Microsoft Dynamics AX is completely intesgrated from
your platform up through the end-user business solutions
applications.


Microsoft Dynamics AX works like and with familiar Microsoft
software, automating and streamlining business processes and
connecting you with global customers, business partners and
subsidiaries in a way that helps you drive business success.

 Microsoft Dynamics AX has fully integrated financials, eliminating
the need for duplicate data entry in other areas of the business.
Microsoft Dynamics AX provides greater insight into your finances
and improves your ability to make the right decisions quickly.
 Microsoft Dynamics AX is an object oriented ERP solution that has
the lowest total cost of ownership in the market.
 Microsoft Dynamics AX fits perfectly in the manufacturing
industry with its multi-item dimensions capability, multi-storage
capability, multi-language support and its open-source
integrated development environment.
Features
• 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.
ARCHITECTURE Microsoft Dynamics AX 2012

•

Topics
• Three-Tier Architecture
• Client Workspace
Development Environment
• Layers
• Models
Three-Tier Architecture
• 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.
•

The following image describes a typical system architecture that includes other
components of the Microsoft technology stack:
Client Workspace
Development Environments
• Morphx IDE
o X++ language code is written here.
o Drag and Drop.
o Code written forms, Classes and logic written here

• Visual Studio.
o
o
o
o

Any Manage Code will be written here
Report Customization and Development.
Remote Debugging Tools.
Application Explorer (Read Only ).
Microsoft Dynamics AX 2012 Layered Architecture

 The method used by Microsoft Dynamics AX 2012 to separate
and control the updates and modifications made in the
application is known as "layering.“
 Layers are a hierarchy of levels in the application
 The standard application is never overwritten
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
Models
• 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.
DATA DICTIONARY

•

Topics
• Application Object Tree
• Labels
Table Structure and Components
• Views
• Maps
• Base Enums
• Extended Data Types
• Table Collections:
• Projects
Application Object Tree (AOT)






The Application Object Tree (AOT)
is a tree view of all the application
objects within
Microsoft Dynamics AX 2012.
Viewing Repository
The AOT contains everything
needed to customize the look and
functionality of a
Microsoft Dynamics AX 2012 application.
Label Files
 system which systematizes all the labels (for buttons, forms,
dialog boxes, and more) for a specific language in one file; a
label file
 A label is the text that appears in the user interface.
Create New Label File: Tools > Development Tools > Label >
Label File Wizard.
Table Structure and Components
Tables: Tables store data in the system. They are organized in
fields. These are assigned to different data types,
depending
on the type of data they hold. Data is
entered, edited, and
deleted through forms. Tables are
discussed in more detail later in the section.
Creating a Table:
1. Create a table.
2. Create extended data types.
3. Add fields to the table.
Drag relevant extended data types to the
Fields node of the relevant table.
4. Create relations on extended data types.
5. Create indexes.
Table Structure and Components
Indexes :
An index is a table-specific database structure that speeds the
retrieval of rows from a table. Indexes are used to improve the
performance of data retrieval and occasionally to ensure the
existence of unique records. It's up to the database-specific
query optimizer to use available indexes to facilitate efficient
data retrieval.
The indexes in the Microsoft Dynamics AX 2012 table definition
are the physical indexes that exist on the tables in the
database.
There are two types of indexes:
• Unique
• Non-Unique
Table Structure and Components
Whether an index is unique is defined by the
index's AllowDuplicates property. When this property is set to No, a
unique index is created. The database uses the unique index to
ensure that no duplicate key values occur. The database prevents
you from inserting records with duplicate key values by rejecting
the insert
Setting the index's AllowDuplicates property to Yes creates a nonunique index. These indexes allow you to enter duplicate values for
the indexed fields and are used for performance reasons.

System Index

Microsoft Dynamics AX requires a unique index on each table so if
there are no indexes on a table or all the indexes are disabled, a
system index is automatically created. The system index is created
on the RecId and DataAreaId fields if the DataAreaId field exists.
Otherwise the system index is created on the RecId field. You can
see system indexes in the database but they aren't visible in the
AOT.
Table Structure and Components
Relations:
Relations are a method that helps secure business
rules to enforce existing properties between field
values existing in different tables. This is known as
referential integrity.
DATA DICTIONARY(Contd.)
Data Types – Primitive and Extended
Microsoft Dynamics AX 2012 has built in primitive and extended
data types associated with the information in the database.
Primitive Data Types

Extended Data Types
Extended Data types can inherit either from primitive types or
other Extended Data Types, which enables properties to be
inherited.
Delete Actions: Microsoft Dynamics AX 2012 uses a category of
methods called Delete Actions to govern how data is handled
when a deletion event occurs in a parent tableRelations.
Methods:
Microsoft Dynamics AX 2012 uses methods within the table
node to perform a variety of functions such as contact person
and currency name lookup.
DATA DICTIONARY(Contd.)
View
A view is an X++ SQL select statement that is given a name that is reusable in
other X++ SQL statements. The select statement of the view can reference one
table, or it can join tables. Also, a view can reference other views, or a mix of
views and tables. A view can also reference maps.
Developers are encouraged to consider using an AOT query element as the
source of data for their view.
Views are specified at AOT > Data Dictionary > Views.
DATA DICTIONARY(Contd.)

Maps
Map Use a map element type to specify a data entity type that factors out
common table
fields and methods for accessing data stored in horizontally partitioned tables.
For example, the CustTable and VendTable tables in the Microsoft Dynamics AX
application model are mapped to the DirPartyMap map element so that you
can use one DirPartyMap object to access common address fields and
methods.

Extended Data Types
DATA DICTIONARY(Contd.)
Base Enums : Base enums are a list of literals. They can be used
throughout the development environment in MorphX.

Table Collections: Table collections do not contain any data.
Virtual companies are built on table collections. They contain
tables shared by more than one company. A table can be a
part of more than one table collection.
Perspectives : Perspectives organize tables, folders, fields, and
roles, in subsets according to application modules in an
intuitive way. Perspective Use a perspective element type to
specify a group of tables and views used together when
designing and generating SSAS unified dimensional models.
Projects:
 Projects organize new or customized application objects. Think
of a Project as a reference folder for related objects.
 Advantage of Projects is the ability to save a project's
contents and state separately for each user by using Private
Projects.
Non-graphical Objects
Topics
• Classes
• Macros :
• Jobs
• Queries
•
Microsoft Dynamics AX Non-graphical Objects
Classes:
 Classes have the following characteristics:





Classes allow reuse common functionality or business logic.
Classes are a design or blueprint for a programming object.
Classes can be run directly from the AOT if a Main method is
Classes in Microsoft Dynamics AX 2012 share the same attributes
has, such as inheritance, polymorphism, and
encapsulation

defined.
a
class

in

C#
Microsoft Dynamics AX Non-graphical Objects(Contd.)

 Macros :




Macros act as a container for defining variables used for frequent tasks.
The purpose of macros is to make statements easy to reuse.
A macro cannot be executed independently of a class.
Microsoft Dynamics AX Non-graphical Objects(Contd.)

Jobs
 The jobs node on the application object tree contains small X ++ programs
that are executed as batch jobs.
 They are useful when developing and testing new functionality for Microsoft
Dynamics AX 2012.
Queries
 Queries ask questions about
data stored in a database.
The information selected by a
query can be used as the
basis for a form, auto report.

Mais conteúdo relacionado

Mais procurados

Developing ssrs-reports-for-dynamics-ax
Developing ssrs-reports-for-dynamics-axDeveloping ssrs-reports-for-dynamics-ax
Developing ssrs-reports-for-dynamics-ax
Nicc Ngo
 
Retail pos technical reference
Retail pos technical referenceRetail pos technical reference
Retail pos technical reference
Ahmed Farag
 
Chapter 03 foreign key relationships1
Chapter 03 foreign key relationships1Chapter 03 foreign key relationships1
Chapter 03 foreign key relationships1
Kranthi Kumar
 
SQL Server Reporting Services
SQL Server Reporting ServicesSQL Server Reporting Services
SQL Server Reporting Services
Ahmed Elbaz
 

Mais procurados (20)

Microsoft Dynamics AX 2012 - Development Introduction Training - Part 2/3
Microsoft Dynamics AX 2012 - Development Introduction Training - Part 2/3Microsoft Dynamics AX 2012 - Development Introduction Training - Part 2/3
Microsoft Dynamics AX 2012 - Development Introduction Training - Part 2/3
 
Dynamics AX/ X++
Dynamics AX/ X++Dynamics AX/ X++
Dynamics AX/ X++
 
X++ advanced course
X++ advanced courseX++ advanced course
X++ advanced course
 
Developing ssrs-reports-for-dynamics-ax
Developing ssrs-reports-for-dynamics-axDeveloping ssrs-reports-for-dynamics-ax
Developing ssrs-reports-for-dynamics-ax
 
Microsoft Dynamics AX 2012 - X++ Compiled to CIL
Microsoft Dynamics AX 2012 - X++ Compiled to CILMicrosoft Dynamics AX 2012 - X++ Compiled to CIL
Microsoft Dynamics AX 2012 - X++ Compiled to CIL
 
Sap abap
Sap abapSap abap
Sap abap
 
AX 2012 R3 Installation Guide
AX 2012 R3 Installation GuideAX 2012 R3 Installation Guide
AX 2012 R3 Installation Guide
 
Retail pos technical reference
Retail pos technical referenceRetail pos technical reference
Retail pos technical reference
 
Chapter 03 foreign key relationships1
Chapter 03 foreign key relationships1Chapter 03 foreign key relationships1
Chapter 03 foreign key relationships1
 
MSBI-SSRS PPT
MSBI-SSRS PPTMSBI-SSRS PPT
MSBI-SSRS PPT
 
Sap abap
Sap abapSap abap
Sap abap
 
Integration with dynamics ax 2012
Integration with dynamics ax 2012Integration with dynamics ax 2012
Integration with dynamics ax 2012
 
Temel ABAP eğitim kılavuzu
Temel ABAP eğitim kılavuzuTemel ABAP eğitim kılavuzu
Temel ABAP eğitim kılavuzu
 
Deep Dive on the Microsoft Dynamics AX Platform
Deep Dive on the Microsoft Dynamics AX PlatformDeep Dive on the Microsoft Dynamics AX Platform
Deep Dive on the Microsoft Dynamics AX Platform
 
Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAP
 
Dynamics Ax Retail Installation Vijay Sharma
Dynamics Ax Retail Installation Vijay SharmaDynamics Ax Retail Installation Vijay Sharma
Dynamics Ax Retail Installation Vijay Sharma
 
ABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type GroupABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type Group
 
How to add new Object Link in SAP DMS
How to add new Object Link in SAP DMSHow to add new Object Link in SAP DMS
How to add new Object Link in SAP DMS
 
SQL Server Reporting Services
SQL Server Reporting ServicesSQL Server Reporting Services
SQL Server Reporting Services
 

Destaque

Destaque (13)

An Introduction to the Dynamics AX Application Integration Framework
An Introduction to the Dynamics AX Application Integration FrameworkAn Introduction to the Dynamics AX Application Integration Framework
An Introduction to the Dynamics AX Application Integration Framework
 
Dynamic AX : Application Integration Framework
Dynamic AX : Application Integration FrameworkDynamic AX : Application Integration Framework
Dynamic AX : Application Integration Framework
 
Introduction to ERP & Microsoft Dynamics AX overview
Introduction to ERP & Microsoft Dynamics AX overviewIntroduction to ERP & Microsoft Dynamics AX overview
Introduction to ERP & Microsoft Dynamics AX overview
 
Task recorder control
Task recorder controlTask recorder control
Task recorder control
 
Ax Presentation
Ax PresentationAx Presentation
Ax Presentation
 
Dynamics Day 2012: Dynamics AX Update and Roadmap
Dynamics Day 2012: Dynamics AX Update and RoadmapDynamics Day 2012: Dynamics AX Update and Roadmap
Dynamics Day 2012: Dynamics AX Update and Roadmap
 
positive thinking
positive thinkingpositive thinking
positive thinking
 
Ax 2012 enterprise portal development
Ax 2012 enterprise portal developmentAx 2012 enterprise portal development
Ax 2012 enterprise portal development
 
Whomovedmycheese
WhomovedmycheeseWhomovedmycheese
Whomovedmycheese
 
Dynamics AX Finance Concepts - For Beginners
Dynamics AX Finance Concepts - For BeginnersDynamics AX Finance Concepts - For Beginners
Dynamics AX Finance Concepts - For Beginners
 
Microsoft Dynamics AX 2012 - Services Overview
Microsoft Dynamics AX 2012 - Services OverviewMicrosoft Dynamics AX 2012 - Services Overview
Microsoft Dynamics AX 2012 - Services Overview
 
Optimizing MS Dynamics AX 2012 R3
Optimizing MS Dynamics AX 2012 R3Optimizing MS Dynamics AX 2012 R3
Optimizing MS Dynamics AX 2012 R3
 
Microsoft Dynamics ERP - A Smarter Way to Business integration
Microsoft Dynamics ERP - A Smarter Way to Business integrationMicrosoft Dynamics ERP - A Smarter Way to Business integration
Microsoft Dynamics ERP - A Smarter Way to Business integration
 

Semelhante a Microsoft dynamics ax 2012 development introduction part 1/3

Oracle data integrator project
Oracle data integrator projectOracle data integrator project
Oracle data integrator project
Amit Sharma
 
Operate Database Application UC info sheet.pdf
Operate Database Application UC info sheet.pdfOperate Database Application UC info sheet.pdf
Operate Database Application UC info sheet.pdf
RemadanMohammed
 
Super applied in a sitecore migration project
Super applied in a sitecore migration projectSuper applied in a sitecore migration project
Super applied in a sitecore migration project
dodoshelu
 
Third AssignmentDescribe in 100 – 200 words an application with .docx
Third AssignmentDescribe in 100 – 200 words an application with .docxThird AssignmentDescribe in 100 – 200 words an application with .docx
Third AssignmentDescribe in 100 – 200 words an application with .docx
randymartin91030
 

Semelhante a Microsoft dynamics ax 2012 development introduction part 1/3 (20)

Ax
AxAx
Ax
 
Services ax2012
Services ax2012Services ax2012
Services ax2012
 
MISys Manufacturing Custom Reporting Overview
MISys Manufacturing Custom Reporting OverviewMISys Manufacturing Custom Reporting Overview
MISys Manufacturing Custom Reporting Overview
 
UNIT - 1 Part 2: Data Warehousing and Data Mining
UNIT - 1 Part 2: Data Warehousing and Data MiningUNIT - 1 Part 2: Data Warehousing and Data Mining
UNIT - 1 Part 2: Data Warehousing and Data Mining
 
Architecting and Designing Enterprise Applications
Architecting and Designing Enterprise ApplicationsArchitecting and Designing Enterprise Applications
Architecting and Designing Enterprise Applications
 
Oracle data integrator project
Oracle data integrator projectOracle data integrator project
Oracle data integrator project
 
MS-ACCESS.pptx
MS-ACCESS.pptxMS-ACCESS.pptx
MS-ACCESS.pptx
 
Microsoft Dynamics Ax 2012 extended architecture
Microsoft Dynamics Ax 2012 extended architectureMicrosoft Dynamics Ax 2012 extended architecture
Microsoft Dynamics Ax 2012 extended architecture
 
Agile Methodology Approach to SSRS Reporting
Agile Methodology Approach to SSRS ReportingAgile Methodology Approach to SSRS Reporting
Agile Methodology Approach to SSRS Reporting
 
Operate Database Application UC info sheet.pdf
Operate Database Application UC info sheet.pdfOperate Database Application UC info sheet.pdf
Operate Database Application UC info sheet.pdf
 
Presentation2
Presentation2Presentation2
Presentation2
 
Presentation2
Presentation2Presentation2
Presentation2
 
Introduction to database with ms access.hetvii
Introduction to database with ms access.hetviiIntroduction to database with ms access.hetvii
Introduction to database with ms access.hetvii
 
Introduction to database with ms access(DBMS)
Introduction to database with ms access(DBMS)Introduction to database with ms access(DBMS)
Introduction to database with ms access(DBMS)
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Super applied in a sitecore migration project
Super applied in a sitecore migration projectSuper applied in a sitecore migration project
Super applied in a sitecore migration project
 
Third AssignmentDescribe in 100 – 200 words an application with .docx
Third AssignmentDescribe in 100 – 200 words an application with .docxThird AssignmentDescribe in 100 – 200 words an application with .docx
Third AssignmentDescribe in 100 – 200 words an application with .docx
 
Sybase PowerDesigner Vs Erwin
Sybase PowerDesigner Vs ErwinSybase PowerDesigner Vs Erwin
Sybase PowerDesigner Vs Erwin
 
SOFTWARE ENGINEERING ppt
SOFTWARE ENGINEERING pptSOFTWARE ENGINEERING ppt
SOFTWARE ENGINEERING ppt
 
PowerBI Training
PowerBI Training PowerBI Training
PowerBI Training
 

Último

Call Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
一比一原版(毕业证书)意大利米兰理工大学毕业证学位证可查学历认证
一比一原版(毕业证书)意大利米兰理工大学毕业证学位证可查学历认证一比一原版(毕业证书)意大利米兰理工大学毕业证学位证可查学历认证
一比一原版(毕业证书)意大利米兰理工大学毕业证学位证可查学历认证
epodumf6
 
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
ZurliaSoop
 
Call Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
amitlee9823
 
Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
amitlee9823
 
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Pooja Nehwal
 
Call Girls Brigade Road Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Brigade Road Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Brigade Road Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Brigade Road Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
amitlee9823
 
Call Girls Bommanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Bommanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Bommanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Bommanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
amitlee9823
 
Call Girls Bidadi ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Bidadi ☎ 7737669865☎ Book Your One night Stand (Bangalore)Call Girls Bidadi ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Bidadi ☎ 7737669865☎ Book Your One night Stand (Bangalore)
amitlee9823
 

Último (20)

Call Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
一比一原版(毕业证书)意大利米兰理工大学毕业证学位证可查学历认证
一比一原版(毕业证书)意大利米兰理工大学毕业证学位证可查学历认证一比一原版(毕业证书)意大利米兰理工大学毕业证学位证可查学历认证
一比一原版(毕业证书)意大利米兰理工大学毕业证学位证可查学历认证
 
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
Jual obat aborsi Jakarta ( 085657271886 )Cytote pil telat bulan penggugur kan...
 
Toxicokinetics studies.. (toxicokinetics evaluation in preclinical studies)
Toxicokinetics studies.. (toxicokinetics evaluation in preclinical studies)Toxicokinetics studies.. (toxicokinetics evaluation in preclinical studies)
Toxicokinetics studies.. (toxicokinetics evaluation in preclinical studies)
 
Call Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hosur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Presentation for the country presentation
Presentation for the country presentationPresentation for the country presentation
Presentation for the country presentation
 
Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Chikkabanavara Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen DatingDubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
 
Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Btm Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Resumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying OnlineResumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying Online
 
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
 
Dark Dubai Call Girls O525547819 Skin Call Girls Dubai
Dark Dubai Call Girls O525547819 Skin Call Girls DubaiDark Dubai Call Girls O525547819 Skin Call Girls Dubai
Dark Dubai Call Girls O525547819 Skin Call Girls Dubai
 
Call Girls Brigade Road Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Brigade Road Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Brigade Road Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Brigade Road Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
 
Solution Manual for First Course in Abstract Algebra A, 8th Edition by John B...
Solution Manual for First Course in Abstract Algebra A, 8th Edition by John B...Solution Manual for First Course in Abstract Algebra A, 8th Edition by John B...
Solution Manual for First Course in Abstract Algebra A, 8th Edition by John B...
 
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big BoodyDubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
 
Personal Brand Exploration - Fernando Negron
Personal Brand Exploration - Fernando NegronPersonal Brand Exploration - Fernando Negron
Personal Brand Exploration - Fernando Negron
 
Guide to a Winning Interview May 2024 for MCWN
Guide to a Winning Interview May 2024 for MCWNGuide to a Winning Interview May 2024 for MCWN
Guide to a Winning Interview May 2024 for MCWN
 
Call Girls Bommanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Bommanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Bommanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Bommanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
 
Call Girls Bidadi ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Bidadi ☎ 7737669865☎ Book Your One night Stand (Bangalore)Call Girls Bidadi ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Bidadi ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 

Microsoft dynamics ax 2012 development introduction part 1/3

  • 1. Microsoft Dynamics Ax 2012 Development Introduction
  • 3. Contents • • • • • • • • • • • • Objective. Features Microsoft Dynamics AX 2012 Architecture Data Dictionary Non-graphical Objects Forms X++ Overview X++ Control Statements Classes and Objects Accessing the database Exception Handling Conclusion
  • 4. Objective "To present profoundly overview of Microsoft Dynamics Ax Development Introduction.“
  • 5. Why Microsoft Dynamics AX?  Microsoft Dynamics AX core strengths are in manufacturing and distribution. More than 60% of Microsoft Dynamics AX users are from these industries.  Microsoft Dynamics AX allows you to share and update information across the company in real time, across multiple sites and in multiple countries. Microsoft Dynamics AX is an all-inclusive, company-wide ERP system that customizes to your business.  Microsoft Dynamics AX is completely intesgrated from your platform up through the end-user business solutions applications.
  • 6.  Microsoft Dynamics AX works like and with familiar Microsoft software, automating and streamlining business processes and connecting you with global customers, business partners and subsidiaries in a way that helps you drive business success.  Microsoft Dynamics AX has fully integrated financials, eliminating the need for duplicate data entry in other areas of the business. Microsoft Dynamics AX provides greater insight into your finances and improves your ability to make the right decisions quickly.  Microsoft Dynamics AX is an object oriented ERP solution that has the lowest total cost of ownership in the market.  Microsoft Dynamics AX fits perfectly in the manufacturing industry with its multi-item dimensions capability, multi-storage capability, multi-language support and its open-source integrated development environment.
  • 7. Features • 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.
  • 8. ARCHITECTURE Microsoft Dynamics AX 2012 • Topics • Three-Tier Architecture • Client Workspace Development Environment • Layers • Models
  • 9. Three-Tier Architecture • 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.
  • 10. • The following image describes a typical system architecture that includes other components of the Microsoft technology stack:
  • 12.
  • 13. Development Environments • Morphx IDE o X++ language code is written here. o Drag and Drop. o Code written forms, Classes and logic written here • Visual Studio. o o o o Any Manage Code will be written here Report Customization and Development. Remote Debugging Tools. Application Explorer (Read Only ).
  • 14. Microsoft Dynamics AX 2012 Layered Architecture  The method used by Microsoft Dynamics AX 2012 to separate and control the updates and modifications made in the application is known as "layering.“  Layers are a hierarchy of levels in the application  The standard application is never overwritten
  • 15. 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
  • 16. Models • 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.
  • 17. DATA DICTIONARY • Topics • Application Object Tree • Labels Table Structure and Components • Views • Maps • Base Enums • Extended Data Types • Table Collections: • Projects
  • 18. Application Object Tree (AOT)    The Application Object Tree (AOT) is a tree view of all the application objects within Microsoft Dynamics AX 2012. Viewing Repository The AOT contains everything needed to customize the look and functionality of a Microsoft Dynamics AX 2012 application.
  • 19. Label Files  system which systematizes all the labels (for buttons, forms, dialog boxes, and more) for a specific language in one file; a label file  A label is the text that appears in the user interface. Create New Label File: Tools > Development Tools > Label > Label File Wizard.
  • 20. Table Structure and Components Tables: Tables store data in the system. They are organized in fields. These are assigned to different data types, depending on the type of data they hold. Data is entered, edited, and deleted through forms. Tables are discussed in more detail later in the section. Creating a Table: 1. Create a table. 2. Create extended data types. 3. Add fields to the table. Drag relevant extended data types to the Fields node of the relevant table. 4. Create relations on extended data types. 5. Create indexes.
  • 21. Table Structure and Components Indexes : An index is a table-specific database structure that speeds the retrieval of rows from a table. Indexes are used to improve the performance of data retrieval and occasionally to ensure the existence of unique records. It's up to the database-specific query optimizer to use available indexes to facilitate efficient data retrieval. The indexes in the Microsoft Dynamics AX 2012 table definition are the physical indexes that exist on the tables in the database. There are two types of indexes: • Unique • Non-Unique
  • 22. Table Structure and Components Whether an index is unique is defined by the index's AllowDuplicates property. When this property is set to No, a unique index is created. The database uses the unique index to ensure that no duplicate key values occur. The database prevents you from inserting records with duplicate key values by rejecting the insert Setting the index's AllowDuplicates property to Yes creates a nonunique index. These indexes allow you to enter duplicate values for the indexed fields and are used for performance reasons. System Index Microsoft Dynamics AX requires a unique index on each table so if there are no indexes on a table or all the indexes are disabled, a system index is automatically created. The system index is created on the RecId and DataAreaId fields if the DataAreaId field exists. Otherwise the system index is created on the RecId field. You can see system indexes in the database but they aren't visible in the AOT.
  • 23. Table Structure and Components Relations: Relations are a method that helps secure business rules to enforce existing properties between field values existing in different tables. This is known as referential integrity.
  • 24. DATA DICTIONARY(Contd.) Data Types – Primitive and Extended Microsoft Dynamics AX 2012 has built in primitive and extended data types associated with the information in the database. Primitive Data Types Extended Data Types Extended Data types can inherit either from primitive types or other Extended Data Types, which enables properties to be inherited.
  • 25. Delete Actions: Microsoft Dynamics AX 2012 uses a category of methods called Delete Actions to govern how data is handled when a deletion event occurs in a parent tableRelations. Methods: Microsoft Dynamics AX 2012 uses methods within the table node to perform a variety of functions such as contact person and currency name lookup.
  • 26. DATA DICTIONARY(Contd.) View A view is an X++ SQL select statement that is given a name that is reusable in other X++ SQL statements. The select statement of the view can reference one table, or it can join tables. Also, a view can reference other views, or a mix of views and tables. A view can also reference maps. Developers are encouraged to consider using an AOT query element as the source of data for their view. Views are specified at AOT > Data Dictionary > Views.
  • 27. DATA DICTIONARY(Contd.) Maps Map Use a map element type to specify a data entity type that factors out common table fields and methods for accessing data stored in horizontally partitioned tables. For example, the CustTable and VendTable tables in the Microsoft Dynamics AX application model are mapped to the DirPartyMap map element so that you can use one DirPartyMap object to access common address fields and methods. Extended Data Types
  • 28. DATA DICTIONARY(Contd.) Base Enums : Base enums are a list of literals. They can be used throughout the development environment in MorphX. Table Collections: Table collections do not contain any data. Virtual companies are built on table collections. They contain tables shared by more than one company. A table can be a part of more than one table collection. Perspectives : Perspectives organize tables, folders, fields, and roles, in subsets according to application modules in an intuitive way. Perspective Use a perspective element type to specify a group of tables and views used together when designing and generating SSAS unified dimensional models.
  • 29. Projects:  Projects organize new or customized application objects. Think of a Project as a reference folder for related objects.  Advantage of Projects is the ability to save a project's contents and state separately for each user by using Private Projects.
  • 30. Non-graphical Objects Topics • Classes • Macros : • Jobs • Queries •
  • 31. Microsoft Dynamics AX Non-graphical Objects Classes:  Classes have the following characteristics:     Classes allow reuse common functionality or business logic. Classes are a design or blueprint for a programming object. Classes can be run directly from the AOT if a Main method is Classes in Microsoft Dynamics AX 2012 share the same attributes has, such as inheritance, polymorphism, and encapsulation defined. a class in C#
  • 32. Microsoft Dynamics AX Non-graphical Objects(Contd.)  Macros :    Macros act as a container for defining variables used for frequent tasks. The purpose of macros is to make statements easy to reuse. A macro cannot be executed independently of a class.
  • 33. Microsoft Dynamics AX Non-graphical Objects(Contd.) Jobs  The jobs node on the application object tree contains small X ++ programs that are executed as batch jobs.  They are useful when developing and testing new functionality for Microsoft Dynamics AX 2012. Queries  Queries ask questions about data stored in a database. The information selected by a query can be used as the basis for a form, auto report.