Microsoft Dynamics AX 2009 Programming: Getting Started


Microsoft Dynamics AX 2009 Programming: Getting Started
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
$25.49
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
$49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Develop and maintain high performance applications with Microsoft Dynamics AX 2009
  • Create comprehensive management solutions to meet your customer's needs
  • Best-practices for customizing and extending your own high-performance solutions
  • Thoroughly covers the new features in AX 2009 and focuses on the most common tasks and issues
  • Aimed at developers on the Microsoft platform with little or no previous knowledge of AX development

Book Details

Language : English
Paperback : 348 pages [ 235mm x 191mm ]
Release Date : December 2009
ISBN : 1847197302
ISBN 13 : 9781847197306
Author(s) : Erlend Dalen
Topics and Technologies : All Books, Enterprise Products and Platforms, Microsoft Dynamics, Enterprise, Microsoft


Table of Contents

Preface
Chapter 1: Processing Data
Chapter 2: Working with Forms
Chapter 3: Working with Data in Forms
Chapter 4: Building Lookups
Chapter 5: Processing Business Tasks
Chapter 6: Integration with Microsoft Office
Index
  • Chapter 1: Processing Data
    • Introduction
    • Creating a new number sequence
    • Renaming the primary key
    • Merging two records
    • Adding document handling notes
    • Using a normal table as temporary table
    • Copying a record
    • Building a query object
    • Using a macro in a SQL statement
    • Executing a direct SQL statement
    • Enhancing the data consistency check
    • Exporting to an XML file
    • Importing from an XML file
    • Creating a comma-separated value file
    • Reading a comma-separated value file
    • Deleting all company transactional data
  • Chapter 2: Working with Forms
    • Introduction
    • Creating Dialogs
    • Handling dialog events
    • Creating dynamic menu buttons
    • Building dynamic form
    • Adding form splitters
    • Creating modal forms
    • Changing common form appearance
    • Storing last form values
    • Using tree controls
    • Building checklists
    • Adding a "Go to the Main Table Form" link
    • Modifying the User setup form
    • Modifying application version
  • Chapter 3: Working with Data in Forms
    • Introduction
    • Handling number sequences
    • Creating custom filters
    • Creating custom instant search filters
    • Building selected/available lists
    • Preloading images
    • Creating wizards
    • Creating default data wizards
    • Processing multiple records
    • Coloring records
    • Adding images to records
  • Chapter 4: Building Lookups
    • Introduction
    • Creating an automatic lookup
    • Creating a lookup dynamically
    • Using a form for lookup building
    • Building a tree lookup
    • Displaying a list of custom options
    • Another way of displaying custom options
    • Building a lookup based on record
    • description
    • Browsing for folders
    • Selecting a file
    • Picking a color
    • Choosing a font
  • Chapter 5: Processing Business Tasks
    • Introduction
    • Creating new general journals
    • Posting general journals
    • Processing project journals
    • Creating and posting ledger vouchers
    • Changing automatic transaction text
    • Creating purchase orders
    • Posting purchase orders
    • Creating sales orders
    • Posting sales orders
    • Creating company-specific document layout
    • Creating electronic payment format
    • Building a "Display dimensions" dialog
  • Chapter 6: Integration with Microsoft Office
    • Introduction
    • Creating Excel files
    • Reading Excel files
    • Creating Word documents from templates
    • Creating configuration documents using Word
    • Exporting data to Microsoft Project
    • Sending email using Outlook

Erlend Dalen

Erlend Dalen started working as a developer with the first version of Axapta in 1998. From 2000 he spent 2 years developing eCommerce, mobile, and integration solutions in Java for a Norwegian IT consultancy company. He has worked for Columbus IT since 2002, first as a senior developer in Norway and in USA and now as the technology manager of the Norwegian branch, where his responsibilities have been to implement new technology areas, creating an eCommerce solution for Dynamics AX, and being the technology solution architect in internal and customer projects.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 6 submitted: last submission 07 Apr 2014

Errata type: Code| Page number: 103

The display methods brand and model use the method find on the CarTable this method does not exist and must be created Correct Create a new method on the CarTable called find coded as follows:
static CarTable find(CarId _carId, boolean _forUpdate = false)
{
CarTable carTable; ;
if(_carId)
{
if(_forUpdate)
carTable.selectForUpdate(_forUpdate);
select firstonly carTable
where carTable.CarId == _carId;
}
return carTable;
}

 

Errata type: Code| Page number: 124

The instructions for creating a list page is missing a step. Correct After step 5 do the following: Add a grid item under Designs/Design -> New Control -> Grid Drag the fields from the datasource CarTable to the Grid.

 

Errata type: Code| Page number: 192

class ImpExpFileDialog references the enum FileEntity which has not yet been created. Correct FileEntity is created by selecting "New Base Enum" in the AOT with entries Cars and Rentals.

 

Errata type: Code| Page number: 198

Under construct, in the code snippet, Rentals is misspelled as Rentalts Correct Rentals is misspelled as Rentalts

 

Errata type: Code | Page number: 236

In the line that reads "We also have to change the following properties of the Key: AllowEditOnChange: No"
Please note, there is no such property "AllowEditOnChange" - the property is "AllowEditOnCreate"

 

Errata type: Code | Page number: 243

The following method cannot be compiled:

"void numberSeqPreInit()
{
    runExecuteDirect   = false;
    // Load the number sequences for the
    // specified module.
    numberSeqReferenceCarRental =
      CarRentalParameters::numberSeqReference();
    numberSeqReferenceCarRental.load();
    // Set the number sequences into the
    // tmp table TmpIdRef
    tmpIdRef.setTmpData(NumberSequenceReference::
      configurationKeyTableMulti(
        [CarRentalParameters::numberSeqModule()]));
}"


because the CarRentalParameters table must have the two static methods:

static NumberSeqReference numberSeqReference()
{
    return NumberSeqReference::construct(CarRentalParameters::numberSeqModule());
}

static client server NumberSeqModule numberSeqModule()
{
    return NumberSeqReference_CarRental::numberSeqModule();
}

These steps are not shown in the book.

 

 

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Microsoft Dynamics AX 2009 Programming: Getting Started +    MDX with SSAS 2012 Cookbook =
50% Off
the second eBook
Price for both: €36.65

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Get to grips with the AX Development environment
  • Understand the basics of the  X++ language
  • Reduce the time spent on coding by storing and relating data
  • Create Reporting Services reports in Visual Studio using the new Reporting Service extensions
  • Optimize data retrieval to ensure each transfer contains only the data necessary for the further operations
  • Manipulate data in X++
  • Effectively handle transaction scope by using different operators
  • Develop a .Net class in Visual Studio and then use it in AX
  • Build rich web portals with Enterprise Portal and ASP.NET
  • Optimize application performance and extensibility
  • Create services and expose them to external applications
  • Build a new module in AX

In Detail

Microsoft Dynamics AX 2009 is Enterprise Resource Planning (ERP) software that comes with its own development environment and a programming language called X++. It is specialized and optimized to solve the tasks that are typical of an ERP system. But the specialized development environment of AX brings a steep learning curve. Hence, getting started with Dynamics AX and mastering it effectively can sometimes be daunting.

This tutorial has been carefully structured to guide you through the basic features of AX development, and get you started as quickly as possible. With this book, you will soon be able to develop and maintain comprehensive management solutions for enhancing your application's performance.

The book starts with a tour of the development environment, which helps you gain a deep understanding of Dynamics AX tools and architecture. It will introduce you to the X++ language. It helps you to create new functionality that can be used and changed in the standard application. You'll also learn how to search, manipulate, and integrate data.
The practical examples in this book take you through sample AX development projects and help you learn to create forms, reports, menu items, menus, and navigation pages. It also helps you work with the MorphX application.

The author's experience of developing solutions with Dynamics AX enables him to share insights in an effective, clear, and friendly way.

By the end of this book, you will have a better understanding of the inner workings of Microsoft Dynamics AX – making your development simpler and faster, and your applications fast, reliable, and robust.

A highly practical guide to speed-up Microsoft Dynamics AX development and customization

Approach

This book takes you through the important topics of Microsoft Dynamics AX with clear explanations and practical example code. It is an easy-to-read, illustrated tutorial with plenty of step-by-step instructions for AX development projects.

Who this book is for

This book is for developers on the Microsoft platform who want to develop and customize the Dynamics AX product. The book assumes that you have some experience with developing in the Microsoft environment, but no experience of development with AX is expected.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software