Book Image

Developing Microsoft Dynamics GP Business Applications

By : Leslie Vail
Book Image

Developing Microsoft Dynamics GP Business Applications

By: Leslie Vail

Overview of this book

Microsoft Dynamics GP is a sophisticated Enterprise Resource Planning (ERP) application with a multitude of features and options. Microsoft Dynamics GP can also be used to develop dynamic, mission critical applications. In "Developing Microsoft Dynamics GP Business Applications" you will learn how to create and customize Dynamics GP Applications. This hands-on guide will take you through the initial steps of setting up a development environment through to customizing and developing an example application using tools such as Dexterity, VSTools and sanScript. "Developing Microsoft Dynamics GP Business Applications" will take you through the complex steps of creating and customizing Microsoft Dynamics GP applications. Starting with an overview of Microsoft Dynamics GP architecture you'll then move onto setting up your development environment. You will learn how to make your application come to life with Dexterity and sanScript. You will create table operations and ranges as well as object triggers to make powerful and practical business applications. You will deploy your Dexterity solution before moving onto customization with Modifier and VBA. This book will also take you through ways of enhancing and extending your application without code using the SmartList Builder and Excel Report Builder. Using these highly flexible tools you'll be able to create data connections that will increase the usability and functionality of your ERP applications.
Table of Contents (15 chapters)
Developing Microsoft Dynamics GP Business Applications
Credits
About the Author
Index

Working with ranges


Similar to Dexterity, working with ranges should be on the top of your list of things to master. Establishing a range allows you to work with a subset of data instead of everything in the database's table. When you define a range, the software treats the records in the range as if they were the only records in the database's table.

For example, if your range is set to include only documents dated in 2012, then the GetFirst() method would return the first document dated in 2012. Similarly, the GetLast() method would return the last document dated in 2012. In reality, the table could include documents spanning 20 years, but setting a range would make the other records invisible to your code. Pretty cool!

To set a range, you first need to decide which table key you will use to define the series of records. For example, if you only want to evaluate invoices in PM Paid Transaction History File, you would need to find a key that included Document Type (the DOCTYPE field) as one...