When logging into the Fabrikam sample company with Microsoft Dynamics GP, the current user date will be set to April 12, 2017 and you will be presented with a dialog with the following message:
You have chosen to use the sample company, which provides data that you can use to practice procedures or learn more about the product. When you use this sample company, the date is automatically set to April 12, 2017.
The ability to control the behavior of the user date for the Fabrikam sample company was added to Microsoft Dynamics GP release 10.0. It is not available in earlier releases.
To change the behavior of the user date and dialog, follow these steps:
- Have all users on the current workstation exit Microsoft Dynamics GP.
- Locate the Dex.ini file.
Note: By default, the Dex.ini file is in the following location in Microsoft Dynamics GP 10.0: C:\Program Files\Microsoft Dynamics\GP\Data
- Right-click the Dex.ini file, and then click Open.
- Insert one of the following lines at the bottom of the [General] section, typically the bottom of the file.
- On the File menu, click Save, and then close the Dex.ini file.
To prevent the dialog showing while leaving the date as April 12, 2017:
To prevent the dialog showing and use the current system date:
To prevent the dialog showing and use a user specified date:
Note: Replace the placeholder MMDDYYYY with the month, day and year. For example April 12, 2017 would be: SAMPLEDATEMMDDYYYY=04122017
There is a VBA method of automatically closing the date dialog included in the VBA - Preventing Users from logging into multiple companies Example. This VBA method works for v8.0, v9.0 and v10.0.
Ref: Internal KB 950799