Product Blogs

How to Create SmartList Builder Reports Based on SQL Views or Tables

Have you ever been working with a SmartList and needed to add just one more piece of information to make it complete, but when you look for it in the column chooser it is not there?

That’s when SmartList Builder comes in handy.

smart-list-builder.jpgOut of the box SmartLists are great, especially for new users; but the longer you use Microsoft Dynamics GP and the more you get to know your data the more sophisticated your reporting needs become. The out of the box lists just may not have everything you need.

And you might need to get information that is stored in different places. For example, in the screenshot below, all those SalesPad tables, views, and user fields that were previously only accessible within SalesPad, are now accessible within a SmartList with SmartList Builder.

One SmartList I made for a distribution company is related to Lot Numbers. There is not an out of the box SmartList to show item or sales lot number information but that was an important report for them. We were able to write a SmartList for Inventory On Hand Lot Quantities as well as for those fulfilled or sold on sales documents.

There are also times where item information would be really helpful to sales reporting. This distribution company uses the Item Generic Description field to denote the vendor for the product, and they send a lot of sales reports back to the vendor. With SmartList builder we could add the Item Generic Description on to the Sales Line Item info and they have all the data in one report.

If you want more flexibility you can use SQL views.

The benefit of using a SQL view over tables is that you have more flexibility with how you combine your tables. SmartList Builder only offers a few methods of joining your tables together; SQL has more options and the one you choose will change the data that is returned. How you join your tables is always important. Users who are comfortable using SQL can join their tables, pick their fields, write calculations and create their view. Granting permissions is fairly simple, then you have your own fully custom view to return exactly the info that you wanted.

Here are instructions on how to create SmartList Builder reports based on SQL views or tables:

Microsoft Dynamics GP>>Tools>>SmartList Builder>>Security>>SQL Table Security

  1. Check the box by the company ID (PAPER)
  2. Choose Table or View (Views have more info. Tables are specifically 1 single source of data)
  3. SalesPad has setup some views that work well for reporting. They start with spv
  4. Check the box by the Table or View

In GP: Open SmartList Builder

  1. Click the + to add a table.
  2. Choose SQL Table (even if you are adding a View)
  3. In the Add SQL Table window, select the Database (PAPER)
  4. Pick Table or View (depending on what you did earlier).
  5. Check box called “Use Company Database”
  6. Click on the View name that you want on the SmartList report.
  7. Hit the + sign to add a Key field. Usually it is the ID of the window (for Items, Customers, Vendors) or the Document Number for Transactions. Basically it is the unique fields on the window. 
  8. Hit Save
    Smart_Builder_1.png

    **Check box called “Use Company Database”
  9. To Mark all fields to show automatically in SmartList, click the little arrow by “Default” and hit Mark ALL.
    Smart_Builder_2.png
  10. Uncheck fields you want to hide.
  11. Click the Blue Arrow by the Display name to set field options (i.e. How to show dates, notes, and GL accounts) 
     Smart_Builder_3.png

    For more Dynamics GP Tips and Tricks go to www.calszone.com/tips and sign up for our Tips and Tricks e-newsletter.

    By CAL Business Solutions, www.calszone.com

 

Explore_GPUG_Membership

Welcome to the Dynamics GP User Group [GPUG], we’re so glad you’re here! While we realize you may be here to troubleshoot a technical issue or simply learn new tips and tricks, we’d love the chance to share with you the incredible benefits the User Group has to offer [and don’t forget, if you’re interested in an incredible in-person learning opportunity - join us in Nashville for our Summit event]!

0 Comments

Tags Create SmartList Builder Reports,, Reports Based on SQL Views or Tables