Você está na página 1de 4

Table of Contents

Introduction to Development III in Microsoft Dynamics AX 2009

0-1

Welcome ............................................................................................................ 0-1


Microsoft Dynamics Courseware Contents ........................................................ 0-2
Documentation Conventions .............................................................................. 0-3
Student Objectives ............................................................................................. 0-4

Chapter 1: Development Environment and Tools

1-1

Objectives ........................................................................................................... 1-1


Introduction ......................................................................................................... 1-1
Scenario ............................................................................................................. 1-2
Cross Reference ................................................................................................ 1-2
Trustworthy Computing (TwC)............................................................................ 1-4
Help System ..................................................................................................... 1-10
Development Environment ............................................................................... 1-13
Summary .......................................................................................................... 1-16
Lab 1.1 - Check Access in a Display Method ................................................... 1-17
Test Your Knowledge ....................................................................................... 1-18
Quick Interaction: Lessons Learned ................................................................. 1-20
Solutions ........................................................................................................... 1-21

Chapter 2: Working with Data

2-1

Objectives ........................................................................................................... 2-1


Introduction ......................................................................................................... 2-1
While Select ....................................................................................................... 2-2
Query ................................................................................................................ 2-10
Lab 2.1 - Fetching Data .................................................................................... 2-12
Lab 2.2 - Converting Queries ........................................................................... 2-15
Caching ............................................................................................................ 2-18
Locking ............................................................................................................. 2-23
Lab 2.3 - Reducing locking ............................................................................... 2-25
Temporary Tables ............................................................................................ 2-27
Lab 2.4 - Temporary Tables ............................................................................. 2-29
InitFrom ............................................................................................................ 2-31
Parm Tables ..................................................................................................... 2-31
Data Integration ................................................................................................ 2-32
Lab 2.5 - Integrating External Data................................................................... 2-41
Summary .......................................................................................................... 2-42
Test Your Knowledge ....................................................................................... 2-43
Quick Interaction: Lessons Learned ................................................................. 2-47
Solutions ........................................................................................................... 2-48

Chapter 3: Classes

3-1

Objectives ........................................................................................................... 3-1


Introduction ......................................................................................................... 3-1
Collection Classes .............................................................................................. 3-2
Lab 3.1 - Create a Map .................................................................................... 3-13
Application Object Classes ............................................................................... 3-14
Lab 3.2 - Create a Query From Code ............................................................... 3-19
Application Substituted Kernel Classes ............................................................ 3-20

Microsoft Official Training Materials for Microsoft Dynamics


Your use of this content is subject to your current services agreement

Development III in Microsoft Dynamics AX 2009


Lab 3.3 - Create a Global method .................................................................... 3-23
Lab 3.4 - Run a Report From Code .................................................................. 3-24
RunBase Framework ........................................................................................ 3-25
Lab 3.5 - Make a RunBase Class ..................................................................... 3-37
Lab 3.6 - Modify a RunBase Class ................................................................... 3-38
Args Object ....................................................................................................... 3-39
Lab 3.7 - Using Args ......................................................................................... 3-42
Summary .......................................................................................................... 3-43
Test Your Knowledge ....................................................................................... 3-44
Quick Interaction: Lessons Learned ................................................................. 3-47
Solutions ........................................................................................................... 3-48

Chapter 4: Forms

4-1

Objectives ........................................................................................................... 4-1


Introduction ......................................................................................................... 4-1
Scenario ............................................................................................................. 4-2
Architecture ........................................................................................................ 4-2
Data Sources ...................................................................................................... 4-7
Lab 4.1 - Create a form .................................................................................... 4-17
Form Controls ................................................................................................... 4-19
Lab 4.2 - Use Unbound Controls ...................................................................... 4-23
Form Methods .................................................................................................. 4-24
Lab 4.3 - Initialize a Form ................................................................................. 4-26
Placement of code ............................................................................................ 4-27
Additional Controls ........................................................................................... 4-28
Lab 4.4 - Add a window control ........................................................................ 4-35
Form Types ...................................................................................................... 4-36
Lab 4.5 - Create a List Page ............................................................................ 4-39
Summary .......................................................................................................... 4-40
Test Your Knowledge ....................................................................................... 4-41
Quick Interaction: Lessons Learned ................................................................. 4-43
Solutions ........................................................................................................... 4-44

Chapter 5: Reports

5-1

Objectives ........................................................................................................... 5-1


Introduction ......................................................................................................... 5-1
Scenario ............................................................................................................. 5-2
Architecture ........................................................................................................ 5-2
Data Sources ...................................................................................................... 5-5
Design ................................................................................................................ 5-6
Lab 5.1 - Add Header and Footer Sections ........................................................ 5-8
Methods .............................................................................................................. 5-9
Lab 5.2 - Override System Methods ................................................................. 5-12
Summary .......................................................................................................... 5-14
Test Your Knowledge ....................................................................................... 5-15
Quick Interaction: Lessons Learned ................................................................. 5-17
Solutions ........................................................................................................... 5-18

ii

Microsoft Official Training Materials for Microsoft Dynamics


Your use of this content is subject to your current services agreement

Table of Contents

Microsoft Official Training Materials for Microsoft Dynamics


Your use of this content is subject to your current services agreement

iii

Development III in Microsoft Dynamics AX 2009

iv

Microsoft Official Training Materials for Microsoft Dynamics


Your use of this content is subject to your current services agreement

Você também pode gostar