You are previewing Microsoft Dynamics AX 2012 Development Cookbook.
O'Reilly logo
Microsoft Dynamics AX 2012 Development Cookbook

Book Description

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.

  • 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

  • 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.

    Table of Contents

    1. Microsoft Dynamics AX 2012 Development Cookbook
      1. Microsoft Dynamics AX 2012 Development Cookbook
      2. Credits
      3. About the Author
      4. About the Reviewers
      5. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
          3. Instant Updates on New Packt Books
      6. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      7. 1. Processing Data
        1. Introduction
        2. Creating a new number sequence
          1. How to do it...
          2. How it works...
          3. See also
        3. Renaming the primary key
          1. How to do it...
          2. How it works...
        4. Merging two records
          1. How to do it...
          2. How it works...
        5. Adding a document handling note
          1. How to do it...
          2. How it works...
        6. Using a normal table as a temporary table
          1. How to do it...
          2. How it works...
        7. Copying a record
          1. How to do it...
          2. How it works...
          3. There's more...
        8. Building a query object
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Using the OR operator
            2. Using arrays fields
          4. See also
        9. Using a macro in an SQL statement
          1. How to do it...
          2. How it works...
        10. Executing a direct SQL statement
          1. How to do it...
          2. How it works...
          3. There's more...
        11. Enhancing the data consistency check
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        12. Exporting data to an XML file
          1. How to do it...
          2. How it works...
        13. Importing data from an XML file
          1. How to do it...
          2. How it works...
        14. Creating a comma-separated value file
          1. How to do it...
          2. How it works...
          3. There's more...
        15. Reading a comma-separated value file
          1. How to do it...
          2. How it works...
          3. There's more...
        16. Using the date effectiveness feature
          1. How to do it...
          2. How it works...
          3. There's more...
      8. 2. Working with Forms
        1. Introduction
        2. Creating a dialog
          1. How to do it...
          2. How it works...
          3. See also
        3. Handling a dialog event
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        4. Building a dynamic form
          1. How to do it...
          2. How it works...
        5. Adding a form splitter
          1. How to do it...
          2. How it works...
        6. Creating a modal form
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        7. Modifying multiple forms dynamically
          1. How to do it...
          2. How it works...
        8. Storing last form values
          1. How to do it...
          2. How it works...
        9. Using a tree control
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Performance
            2. Drag-and-drop
          4. See also
        10. Building a checklist
          1. How to do it...
          2. How it works...
          3. There's more...
        11. Adding the View details link
          1. How to do it...
          2. How it works...
      9. 3. Working with Data in Forms
        1. Introduction
        2. Using a number sequence handler
          1. How to do it...
          2. How it works...
          3. See also
        3. Creating a custom filter
          1. How to do it...
          2. How it works...
          3. See also
        4. Creating a custom instant search filter
          1. How to do it...
          2. How it works...
          3. See also
        5. Building a selected/available list
          1. How to do it...
          2. How it works...
          3. There's more...
        6. Preloading images
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        7. Creating a wizard
          1. How to do it...
          2. How it works...
        8. Processing multiple records
          1. How to do it...
          2. How it works...
        9. Coloring records
          1. How to do it...
          2. How it works...
        10. Adding an image to records
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Displaying an image as part of a form
            2. Saving a stored image as a file
      10. 4. Building Lookups
        1. Introduction
        2. Creating an automatic lookup
          1. How to do it...
          2. How it works...
          3. There's more...
        3. Creating a lookup dynamically
          1. How to do it...
          2. How it works...
        4. Using a form for building a lookup
          1. How to do it...
          2. How it works...
          3. See also
        5. Building a tree lookup
          1. How to do it...
          2. How it works...
          3. See also
        6. Displaying a list of custom options
          1. How to do it...
          2. How it works...
          3. There's more...
        7. Another way of displaying custom options
          1. How to do it...
          2. How it works...
          3. There's more...
        8. Building a lookup based on record description
          1. How to do it...
          2. How it works...
          3. There's more...
        9. Building the Browse for Folder lookup
          1. How to do it...
          2. How it works...
          3. There's more...
            1. Manual folder browsing lookup
            2. Adding a Make New Folder button
        10. Building a lookup for selecting a file
          1. How to do it...
          2. How it works...
          3. There's more...
        11. Creating a color picker lookup
          1. How to do it...
          2. How it works...
          3. There's more...
      11. 5. Processing Business Tasks
        1. Introduction
        2. Using a segmented entry control
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        3. Creating a general journal
          1. How to do it...
          2. How it works...
          3. There's more
          4. See also
        4. Posting a general journal
          1. How to do it...
          2. How it works...
          3. See also
        5. Processing a project journal
          1. How to do it...
          2. How it works...
          3. There's more...
        6. Creating and posting a ledger voucher
          1. How to do it...
          2. How it works...
          3. See also
        7. Changing an automatic transaction text
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        8. Creating a purchase order
          1. How to do it...
          2. How it works...
          3. See also
        9. Posting a purchase order
          1. How to do it...
          2. How it works...
          3. There's more...
        10. Creating a sales order
          1. How to do it...
          2. How it works...
          3. See also
        11. Posting a sales order
          1. How to do it...
          2. How it works...
          3. There's more...
        12. Creating an electronic payment format
          1. How to do it...
          2. How it works...
      12. 6. Integration with Microsoft Office
        1. Introduction
        2. Creating an Excel file
          1. How to do it...
          2. How it works...
        3. Reading an Excel file
          1. How to do it...
          2. How it works...
        4. Creating a Word document from a template
          1. Getting ready
          2. How to do it...
          3. How it works...
        5. Creating a Word document with repeating elements
          1. Getting ready
          2. How to do it...
          3. How it works...
        6. Creating a Microsoft Project file
          1. Getting ready
          2. How to do it...
          3. How it works...
        7. Sending an e-mail using Outlook
          1. Getting ready
          2. How to do it...
          3. How it works...
      13. 7. Using Services
        1. Introduction
        2. Consuming the system query service
          1. How to do it...
          2. How it works...
        3. Consuming the system metadata service
          1. How to do it...
          2. How it works...
        4. Consuming an existing document service
          1. How to do it...
          2. How it works...
          3. There's more
        5. Creating a document service
          1. How to do it...
          2. How it works...
        6. Consuming a document service
          1. How to do it...
          2. How it works...
          3. See also
        7. Using an enhanced document service
          1. How to do it...
          2. How it works...
          3. See also
        8. Creating a custom service
          1. How to do it...
          2. How it works...
          3. See also
        9. Consuming a custom service
          1. How to do it...
          2. How it works...
          3. See also
        10. Consuming an external service
          1. How to do it...
          2. How it works...
          3. See also
      14. 8. Improving Development Efficiency
        1. Introduction
        2. Creating an editor template
          1. How to do it...
          2. How it works...
        3. Modifying the Tools menu
          1. How to do it...
          2. How it works...
        4. Modifying the right-click context menu
          1. How to do it...
          2. How it works...
        5. Searching for an object in a development project
          1. How to do it...
          2. How it works...
          3. See also
        6. Modifying the Personalization form
          1. How to do it...
          2. How it works...
        7. Modifying the application version
          1. How to do it...
          2. How it works...
      15. 9. Improving Dynamics AX Performance
        1. Introduction
        2. Calculating code execution time
          1. How to do it...
          2. How it works...
          3. There's more...
        3. Writing efficient SQL statements
          1. How to do it...
          2. How it works...
        4. Caching a display method
          1. How to do it...
          2. How it works...
        5. Using Dynamics AX Trace Parser
          1. How to do it...
          2. How it works...
          3. See also
        6. Using SQL Server Database Engine Tuning Advisor
          1. How to do it...
          2. How it works...
          3. See also