Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Extending Microsoft Dynamics AX 2012 Cookbook

You're reading from   Extending Microsoft Dynamics AX 2012 Cookbook This is a brilliantly accessible book, packed with practical examples, that's perfect for business professionals who want to make more of the advanced features of Dynamics AX to save money and increase management efficiency.

Arrow left icon
Product type Paperback
Published in Aug 2013
Publisher Packt
ISBN-13 9781782168331
Length 314 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Murray Fife Murray Fife
Author Profile Icon Murray Fife
Murray Fife
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Extending Microsoft Dynamics AX 2012 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Extending Out with SharePoint FREE CHAPTER 2. Reports and Dashboards 3. Dashboards, Charts, and Scorecards 4. Communication and Collaboration 5. Using Cases to Manage Incidents and Requests 6. Organizing Your Workflows 7. Reporting in Office 8. Talking to the Outside World 9. Creating Help 10. Web Services and Forms 11. Role Center Personalization and Customization Index

Creating custom OData queries to retrieve Dynamics AX data


Dynamics AX has a more generic web service call feature called OData Query that allows you to query tables and return them through a URL. This is useful because they can be used as read-only data sources for other programs such as InfoPath.

In this recipe, we will show how you can register your own custom query within Dynamics AX, and then access it through the OData Query web service.

How to do it...

To create an OData query, follow these steps:

  1. To access a query through the OData Query feature, we open the Document data sources form from the Organization Administration area page within the Document Management folder of the Setup group.

  2. To create a new query, click on the New button in the menu bar.

  3. The Document data sources reference the queries that are built within AOT. Usually, you don't have to build a whole new query because you can use one of the existing ones as a basis. Select a module that you would like the data source to be...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image