Monday, January 24, 2011

Change the Date at Midnight without the Dialog

A friend asked me recently how to get the date to advance if you are using the .ini switch SuppressChangeDateDialog=TRUE.

First, let me explain the .ini switch. If GP is open overnight, a dialog displays at midnight asking you if you want to advance the date.

image

Many firms run integrations overnight and this dialog displaying in the middle of an integration will cause it to crash. To keep the dialog from presenting, the ‘SuppressChangeDateDialog’ .ini switch was developed. If this switch is included in your dex.ini file, the date dialog will not be presented and therefore the integration will not crash.

A byproduct of the .ini switch is that the date does not automatically advance. So, we have a dilemma. In order to force the date to advance while suppressing the Change Date dialog, a tool was developed by Microsoft (then Great Plains). The tool is known as the ‘Update User Date’ utility. There is no charge for it, but you have to ask Tech Support in order to get it.

For versions GP 2010 and beyond, this utility is included as one of the free tools in the Professional Services Tools Library. Every GP installation should include this module because so many free tools are included. You can find the Update User Date utility in the upper left-hand corner of the Professional Services Tools Library window. In order to turn the functionality ‘on’ simply check the box to the left of the radio button.

image

I hope this helps you with your integrations.

Until next post!

Leslie

No comments: