Best practices for labeling customized windows with Modifier and VBA in Microsoft Dynamics GP

Ever walked into a site where customizations to the Dynamics GP system seem to be endless? Are you confused as a consultant by what was done in what tool? This one may seem as a no brainer, but it is one of the biggest issues I face when I go to a customer’s site, especially when I am not the first to walk in there.

In addition, many of my customers also ask about windows with titles enclosed by periods, i.e., “.Customer Maintenance.“, or preceded by one period, i.e., “.Customer Maintenance“, or suffixed by one period, i.e., “Customer Maintenance.“, of course, for the trained and qualified eye, all created with Modifier and/or VBA, and/or both. The question is often, why is it that we have these two periods around the window name? Can’t we change it to something more visually appealing and truly indicative of existing customizations?The honest truth is, unless you have a much trained eye, these periods can escape you very easily and can make users very confused as to what they are seeing on the screen.

In fact, as part of my Dynamics GP list of best practices, I do recommend customers to make the following subtle changes to the titles of modified and VBA-customized Dynamics GP windows, as follows:

1) If the window includes only changes done with Modifier — one period at the beginning of the window title — change the title to MOD: Window Name.

NOTE: the period cannot be removed under Modifier, hence once security is granted; the window title will appear as .MOD: Window Name. The period is not completely gone, but still the impact of having the word “MOD” in the title is already a big change from just the period.

2) If the window includes only changes done with Visual Basic for Applications — a period at the end of the window title — change the title to VBA: Window Name

3) If the window includes changes done with Modifier and Visual Basic for Applications, change the title to MVBA: Window Name.

Modifier Only Changes

1) Open Modifier and perform all necessary changes to your window. Before save, change the Object Title property to MOD: Customer Maintenance as shown below.

2) Save all your changes and return to Microsoft Dynamics GP

3) Grant security to the modified window.

4) Open the window to view the title. As shown below, it is easier to identify changes done with Modifier this way.

Visual Basic for Applications (VBA) Only Changes

1) Open un-modified window; add to Visual Basic (CTRL+F11 on your keyboard)

2) Add all fields required for the customization you are planning

3) Change the Caption property as shown below to reflect VBA: Customer Maintenance.

4) When window is displayed by GP, title is now preceded by the word VBA.

Modifier with Visual Basic for Applications (VBA) changes

1) Follow steps 1 and 2 as indicated in the above scenario

2) Change the Caption property to include MVBA: Customer Maintenance

3) When the window is displayed by GP, title is now preceded by the word MVBA

Trivial? Maybe. However, these simple techniques for identifying customizations done with Modifier and further enhanced with VBA, have saved me from many redundant and sometimes unnecessary questions and comments, including “some developer did not pay attention when they were typing the window title”, ehem!

Until next post!

MG.-
Mariano Gomez, MIS, MVP, MCP, PMP
Maximum Global Business, LLC
http://www.maximumglobalbusiness.com/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: