Book Image

Microsoft Dynamics AX 2012 R3 Development Cookbook

By : Mindaugas Pocius
Book Image

Microsoft Dynamics AX 2012 R3 Development Cookbook

By: Mindaugas Pocius

Overview of this book

<p>Microsoft Dynamics AX 2012 R3 Development Cookbook will help you manage your company's or customer's ERP information and operations efficiently. Beginning with exploring data manipulation concepts in Dynamics AX, you will build scripts to assist data migration and organize data in AX forms. You will learn how to create custom lookups using AOT forms and generate them dynamically. After this, you'll learn how to enhance your application by using advanced form controls, and integrate your system with other external systems. You will also learn how to enhance your user interface using various Dynamics AX UI elements.</p> <p>This book will help you look at application development from a business process perspective, and develop enhanced ERP solutions by learning and implementing the best practices and techniques.</p>
Table of Contents (16 chapters)
Microsoft Dynamics AX 2012 R3 Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Storing user selections


Dynamics AX has a very useful feature that allows you to save the latest user choices for forms, reports, and other objects. This feature is already implemented across a number of standard forms, reports, periodic jobs, and other objects, which require user input. When developing a new functionality for Dynamics AX, it is recommended that you keep it that way.

In this recipe, we will demonstrate how to save the latest user selections. In order to make it as simple as possible, we will use the existing filter on the Bank statement form, which can be opened by navigating to Cash and bank management | Common | Bank accounts, selecting any bank account, and then clicking on the Account reconciliation button in the action pane. This form contains one filter called View, which allows you to display bank statements based on their status. We will enhance this form so the system will remember the latest user's choice when the form is opened next time.

How to do it...

Carry out...