Book Image

Extending Microsoft Dynamics AX 2012 Cookbook

By : Murray Fife
Book Image

Extending Microsoft Dynamics AX 2012 Cookbook

By: Murray Fife

Overview of this book

Dynamics AX is built on a number of foundation products from Microsoft that are used to make it bigger, better, and stronger than the average business system. Taking advantage of these products will make your life easier. Use these tools to maximize the efficiency of your business management, taking advantage of a powerful and centralized tool set. "Extending Microsoft Dynamics AX 2012 Cookbook" will show you how to use tools that you already have to extend out Dynamics AX and discover potential new directions. You will be surprised at what you can do on a shoestring budget. The book will allow you to streamline your work processes, and use the system's powerful and centralised features to the advantage of your organization. "Extending Microsoft Dynamics AX 2012 Cookbook" will show you how to maximize the potential of Dynamics AX with common and popular tools to enhance your business management systems. We will begin by exploring how to extend Dynamics AX out with SharePoint. After this, the book will guide you through important elements in maximizing business management efficiency, focusing on key aspects like reports, dashboards, and workflows. The book will then finish by teaching you how to customize your management systems, achieving a comprehensive coverage of the most important extension processes relevant to you and your business with very little programming. This is a book for those of you that want to make the most out of Dynamics AX by using what you already have, and without breaking the bank.
Table of Contents (18 chapters)
Extending Microsoft Dynamics AX 2012 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating shared document libraries


One of the strengths of SharePoint is that it is a great document management system. Although you can attach documents to records directly within Dynamics AX, you may want to use SharePoint as a store, so that people without access to Dynamics AX can still have access to the documents. SharePoint also allows you to index documents a number of different ways, allowing them to link to more than one record within Dynamics AX.

For this recipe, we will show how you can create an Accounts Payable document library to store all of your vendor invoices and scanned documents.

Before we show you how to access these documents from within Dynamics AX, you need to create a library to store the documents.

Getting ready

Before you start on this example, you will need to make sure that you have administrator privileges on your document management site. To check this carry out the following step:

  1. Access the site, and open up the Site Actions menu. You need to make sure that you have the ability to create a New Document Library:

How to do it...

To create a new document library for your Accounts Payable scans and images, follow these steps:

  1. From your SharePoint site that you want to store your documents in, access the Site Actions menu, and then select the New Document Library menu item:

  2. This will open up the Document Library creation form. Give the library a name for the area of the business that will be using the documents, and then click on the Create button:

  3. Now you should have a generic document library. We want to be able to index and search through our documents though. So we will add a few index fields to the document library. To do this, click on the Create Column button in the Library/Manage Views section of the ribbon bar:

  4. This will open up the Create Column dialog box, and we will create a column for Vendor Account Number:

  5. After doing that, create non-required columns for Invoice Number (AccountNum), Document Amount (Amount), Document Date (Date), Purchase Order Number (PurchaseOrder), and Company ID (Company).

  6. From the Library/Manage Views tab on the ribbon bar, you may also want to rearrange and hide the columns to make the library tidier.

How it works...

From the document library, we can now upload our scanned documents and images to SharePoint through the Upload Documents button.

Once you have your documents uploaded, you can the open up the Properties panel for the document through the drop-down box beside the document name.

The column properties allow you to add additional index information to documents, so that later on we are able to search and find documents that relate to specific data in the database.

As we index these documents we are able to see the indexed column values in the main view of the document library.

Additionally, if you have a number of documents in your library, you can use the filter button to just find the documents that you are looking for.