Microsoft Dynamics GP SmartList Default Visible To Company

In July, as part of his weekly MS Connect suggestion series, Mark Polino raised the issue of SmartList Favourites and the default Visible To which is set to System.

Mark’s suggestion was to have the default changed to User which would leave a generally tidier list. To be honest I’d rather have a setting which allowed the default to be chosen by each client. The reason for this is we’re currently in the middle of an upgrade project where a few Microsoft Dynamics GP systems will be merged into one and it would be good to have the default Visib le to set to Company.

Following on from my recent post on a fixed width SmartList left pane I decided to have a fiddle and see if I could force the default to something else. And it turns out with some simple VBA that you can do exactly that;

SmartList

The default I have configured is Company but this can easily be altered by using Notepad++ (or any other text editor) and scrolling down to find this section of code;


Private Sub Window_AfterOpen()
   If Name1.Value = \"*\" Then
      VisibleTo.Value = 2
   End If
End Sub

To change the default alter the highlighted number to one of the following valid values are;

  1. System
  2. Company
  3. User Class
  4. User

Save the amended package and then import in Customisation Maintenance. Security to the modified window will need to be configured (instructions contained within the download).

This customisation has been tested on both Microsoft Dynamics GP 2010 and Microsoft Dynamics GP 2013.

Ian Grieve

About Ian Grieve

Ian is a Microsoft Dynamics GP certified consultant specialising in the delivery of Microsoft Dynamics GP projects and currently working for Perfect Image Ltd., a Microsoft Partner and VAR in the North East of England. Ian has worked with Microsoft Dynamics GP since 2003 and, over the nine years since, has dealt with all aspects of the product life-cycle from presales, to implementation, to technical and functional training, to post go-live support and subsequent upgrades and process reviews. In his spare time, Ian runs the azurecurve | Ramblings of a Dynamics GP Consultant blog dedicated to Microsoft Dynamics GP and related products.
This entry was posted in Dynamics, GP, Microsoft, Modifier with VBA, SmartList and tagged , , , , , , , , , . Bookmark the permalink.

2 comments on “Microsoft Dynamics GP SmartList Default Visible To Company

  1. Pingback: Microsoft Dynamics GP SmartList Default Visible To Company | azurecurve - DynamicAccounting.net - GP Technical Blogs - Microsoft Dynamics Community

  2. Pingback: Microsoft Dynamics GP SmartList Default Visible To … – azurecurve : Interesting Findings & Knowledge Sharing

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy This Password *

* Type Or Paste Password Here *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>