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
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Dynamics GP 2016 Cookbook

You're reading from   Microsoft Dynamics GP 2016 Cookbook Over 100 powerful and effective recipes to help you solve real-world Dynamics GP problems

Arrow left icon
Product type Paperback
Published in Aug 2016
Publisher
ISBN-13 9781786463401
Length 376 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Ian Grieve Ian Grieve
Author Profile Icon Ian Grieve
Ian Grieve
Mark Polino Mark Polino
Author Profile Icon Mark Polino
Mark Polino
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Personalizing Dynamics GP 2. Organizing Dynamics GP FREE CHAPTER 3. Automating Dynamics GP 4. Leveraging New and Updated Features in Dynamics GP 5. Exposing Hidden Features in Dynamics GP 6. Improving Dynamics GP with Hacks 7. Preventing Errors in Dynamics GP 8. Harnessing the Power of SmartLists 9. SmartList Designer 10. Connecting Dynamics GP to Microsoft Office 2016 11. Maintaining Dynamics GP 12. Extending Dynamics GP Professional Services Tools Library 13. Modern Business Intelligence for Dynamics GP Index

Creating a new SmartList from a SQL View

In the Creating a new SmartList recipe, we created a new SmartList object using GP tables. SmartList Designer also allows SmartLists to be created from SQL Views, which allows for more flexibility in how SmartList Designers work.

One example of this, and one used by many of my clients, are SmartLists that report on the security configuration; these were created as SQL Views to make them easy to transfer between systems.

Getting ready

Before the SmartList can be created, the SQL View needs to be loaded into the relevant database; for security data, this is the system database (typically called DYNAMICS), but for many SmartLists, the SQL View will need to be loaded into all company databases.

The security-related SQL View (uv_AZRCRV_UserAccessAndGrantedSecurityViews) that we will use in this recipe is the User Access and Granted Security Roles, http://azrcrv.co.uk/y7xXlZ

Download the view and load it into SQL Server in the system database, making sure...

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