Free Sample
+ Collection

Microsoft Dynamics AX 2012 Development Cookbook

Mindaugas Pocius

Customizing Dynamics AX to suit the specific needs of an organization is plain sailing when you use this cookbook of modifications. With more than 80 practical recipes it’s the perfect handbook for all Dynamics AX developers.
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849684644
Paperback372 pages

About This Book

  • Develop powerful, successful Dynamics AX projects with efficient X++ code with this book and eBook
  • Proven recipes that can be reused in numerous successful Dynamics AX projects
  • Covers general ledger, accounts payable, accounts receivable, project modules and general functionality of Dynamics AX
  • Step-by-step instructions and useful screenshots for easy learning
  • Numerous development tips and tricks for daily usage
  • This book is an update to Microsoft Dynamics AX 2009 Development Cookbook

Who This Book Is For

If you are a Dynamics AX developer who is primarily focused on delivering time-proven application modifications, then this book is for you. Although new X++ developers will find this book useful, this book is focused more towards developers who already know the basics of Dynamics AX programming and want to step up to the next level and at the same time learn the functional aspects of Dynamics AX. Some Dynamics AX coding experience is expected.

Table of Contents

Chapter 1: Processing Data
Creating a new number sequence
Renaming the primary key
Merging two records
Adding a document handling note
Using a normal table as a temporary table
Copying a record
Building a query object
Using a macro in an SQL statement
Executing a direct SQL statement
Enhancing the data consistency check
Exporting data to an XML file
Importing data from an XML file
Creating a comma-separated value file
Reading a comma-separated value file
Using the date effectiveness feature
Chapter 2: Working with Forms
Creating a dialog
Handling a dialog event
Building a dynamic form
Adding a form splitter
Creating a modal form
Modifying multiple forms dynamically
Storing last form values
Using a tree control
Building a checklist
Adding the View details link
Chapter 3: Working with Data in Forms
Using a number sequence handler
Creating a custom filter
Creating a custom instant search filter
Building a selected/available list
Preloading images
Creating a wizard
Processing multiple records
Coloring records
Adding an image to records
Chapter 4: Building Lookups
Creating an automatic lookup
Creating a lookup dynamically
Using a form for building a lookup
Building a tree lookup
Displaying a list of custom options
Another way of displaying custom options
Building a lookup based on record description
Building the Browse for Folder lookup
Building a lookup for selecting a file
Creating a color picker lookup
Chapter 5: Processing Business Tasks
Using a segmented entry control
Creating a general journal
Posting a general journal
Processing a project journal
Creating and posting a ledger voucher
Changing an automatic transaction text
Creating a purchase order
Posting a purchase order
Creating a sales order
Posting a sales order
Creating an electronic payment format
Chapter 6: Integration with Microsoft Office
Creating an Excel file
Reading an Excel file
Creating a Word document from a template
Creating a Word document with repeating elements
Creating a Microsoft Project file
Sending an e-mail using Outlook
Chapter 7: Using Services
Consuming the system query service
Consuming the system metadata service
Consuming an existing document service
Creating a document service
Consuming a document service
Using an enhanced document service
Creating a custom service
Consuming a custom service
Consuming an external service
Chapter 8: Improving Development Efficiency
Creating an editor template
Modifying the Tools menu
Modifying the right-click context menu
Searching for an object in a development project
Modifying the Personalization form
Modifying the application version
Chapter 9: Improving Dynamics AX Performance
Calculating code execution time
Writing efficient SQL statements
Caching a display method
Using Dynamics AX Trace Parser
Using SQL Server Database Engine Tuning Advisor

What You Will Learn

  • Explore data manipulation concepts in Dynamics AX
  • Build scripts to assist data migration processes
  • Organize data in Dynamics AX forms
  • Enhance your application by using advanced form controls
  • Create custom lookups using AOT forms and dynamically generate them from the X++ code
  • Create and post Dynamics AX journals from code
  • Create and manage purchase and sales orders from code
  • Create a custom electronic payment format and process a vendor payment using it
  • Integrate your application with Microsoft Office Suite
  • Create various Microsoft Office documents that can be used for exporting/importing business data for further distribution or analysis
  • Integrate the system with external systems using various approaches
  • Improve your development efficiency and experience
  • Learn simple but effective tips on how to improve overall Dynamics AX performance

In Detail

Microsoft Dynamics AX is a comprehensive Enterprise Resource Planning (ERP) solution for mid-size and large organizations. Dynamics AX implementations are used worldwide by thousands of customers. With the new version - Dynamics AX 2012 - the system is due to expand even more rapidly.

Every new implementation requires some level of customization, and all organizations want this to be done to the highest standards using proven approaches.

Written by one of the leading experts in Microsoft Dynamics AX, 'Microsoft Dynamics AX 2012 Development Cookbook' is packed with over 80 task-based and immediately reusable recipes that will help you manage your company’s or customer’s ERP information and operations efficiently, and solve your business process problems in an effective and quick way. This book focuses on commonly used custom modifications in major Dynamics AX modules. The recipes in this book cover various areas of Dynamics AX to help developers not only learn about programming, but also about the functional side of Dynamics AX. The practical recipes will also allow you to look at the development from the perspective of business processes. You will learn to enhance your user interface using various Dynamics AX UI elements and managing your data and functions will become easier.


Read More

Recommended for You

Implementing Microsoft Dynamics AX 2012 with Sure Step 2012
$ 23.99