Microsoft Dynamics GP SmartList Default Visible To Company

Microsoft Dynamics GPIn 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.

[wpdm_file id=3]

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Looking for support or consultancy with Microsoft Dynamics GP?

I no longer work with Microsoft Dynamics GP, but the last company I worked for was ISC Software in the UK; if you’re looking for support or consultancy services with Microsoft Dynamics GP you can contact them here.

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

Leave a Reply

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