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.
What you will learn from this book
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
Approach
‘Microsoft Dynamics AX 2012 Development Cookbook’ is full of immediately useable recipes showing you how to manage your company’s ERP information and operations efficiently, and solve your business process problems in an effective and quick way. This book contains a list of useful Dynamics AX modifications – recipes – along with all required code and in-depth explanations. Most of the recipes are presented using real-world examples in a variety of Dynamics AX modules. In addition to its cookbook style, which ensures the solutions are presented in a clear step-by-step manner, its explanations go into great detail, which makes it good learning material for everyone who has experience in Dynamics AX and wants to improve. The book is designed in such a way that most of the recipes are presented as separate, standalone entities and reading of other, prior recipes is not required. Some recipes however, are extensions of the prior ones.
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.
Author(s): Mindaugas Pocius
Publisher: Packt Publishing
Year: 2012
Language: English
Pages: 372
Tags: Библиотека;Компьютерная литература;Dynamics;
Cover
......Page 1
Copyright......Page 3
Credits......Page 4
About the Author......Page 5
About the Reviewers......Page 6
www.PacktPub.com......Page 7
Table of Contents......Page 8
Preface......Page 12
Introduction......Page 18
Creating a new number sequence......Page 19
Renaming the primary key......Page 24
Merging two records......Page 28
Adding a document handling note......Page 30
Using a normal table as a temporary table......Page 32
Copying a record......Page 33
Building a query object......Page 36
Using a macro in an SQL statement......Page 41
Executing a direct SQL statement......Page 42
Enhancing the data consistency check......Page 48
Exporting data to an XML file......Page 52
Importing data from an XML file......Page 55
Creating a comma separated value file......Page 57
Reading a comma-separated value file......Page 60
Using the date effectiveness feature......Page 63
Introduction......Page 68
Creating a dialog......Page 69
Handling a dialog event......Page 74
Building a dynamic form......Page 78
Adding a form splitter......Page 83
Creating a modal form......Page 88
Modifying multiple forms dynamically......Page 90
Storing last form values......Page 93
Using a tree control......Page 96
Building a checklist......Page 108
Adding the View details link......Page 116
Introduction......Page 120
Using a number sequence handler......Page 121
Creating a custom filter......Page 124
Creating a custom instant search filter......Page 128
Building a selected/available list......Page 131
Preloading images......Page 138
Creating a wizard......Page 145
Processing multiple records......Page 155
Coloring records......Page 157
Adding an image to records......Page 158
Introduction......Page 168
Creating an automatic lookup......Page 169
Creating a lookup dynamically......Page 172
Using a form for building a lookup......Page 174
Building a tree lookup......Page 180
Displaying a list of custom options......Page 184
Another way of displaying custom options......Page 186
Building a lookup based on record description......Page 190
Building the Browse for Folder lookup......Page 196
Building a lookup for selecting a file......Page 201
Creating a color picker lookup......Page 205
Introduction......Page 212
Using a segmented entry control......Page 213
Creating a general journal......Page 218
Posting a general journal......Page 226
Processing a project journal......Page 228
Creating and posting a ledger voucher......Page 232
Changing an automatic transaction text......Page 236
Creating a purchase order......Page 239
Posting a purchase order......Page 242
Creating a sales order......Page 247
Posting a sales order......Page 250
Creating an electronic payment format......Page 254
Introduction......Page 264
Creating an Excel file......Page 265
Reading an Excel file......Page 267
Creating a Word document from a template......Page 270
Creating a Word document with repeating elements......Page 273
Creating a Microsoft Project file......Page 277
Sending an e-mail using Outlook......Page 282
Introduction......Page 286
Consuming the system query service......Page 287
Consuming the system metadata service......Page 290
Consuming an existing document service......Page 292
Creating a document service......Page 296
Consuming a document service......Page 301
Using an enhanced document service......Page 303
Creating a custom service......Page 309
Consuming a custom service......Page 312
Consuming an external service......Page 314
Introduction......Page 320
Creating an editor template......Page 321
Modifying the Tools menu......Page 326
Modifying the right-click context menu......Page 328
Searching for an object in a development project......Page 333
Modifying the Personalization form......Page 336
Modifying the application version......Page 340
Introduction......Page 344
Calculating code execution time......Page 345
Writing efficient SQL statements......Page 347
Caching a display method......Page 349
Using Dynamics AX Trace Parser......Page 352
Using SQL Server Database Engine Tuning Advisor......Page 356
Index......Page 360