How to gather a Dexterity Scriptlog in Microsoft Dynamics GP

Symptoms

This article contains steps on how to gather a Dexterity Script Debugger log in Microsoft Dynamics GP.

Cause

Dexterity Scriptlogs are often helpful to give insight into what dexterity code is being called, and helpful to verify if any 3rd party products are being called during the process captured in the log. The default dictionary ID for Microsoft Dynamics GP is (0), so you can review if any other dictionary ID's are listed. 


Resolution

Here are the steps to gather the scriptlog:

1. Exit out of Microsoft Dynamics GP.

2. Navigate to the GP code folder (default location is C:\Program Files (x86)\Microsoft Dynamics\GP\Data) and right-click on the Dex.ini file and open it with Notepad.

3. Review if the below trigger exists and set it to TRUE, or if it doesn't exist, add the below trigger to the end of the file. 

ScriptDebugger=TRUE

4. Close the file and save your changes.

5. Relaunch Microsoft Dynamics GP. 

6. Now you will see a DEBUG item listed in the top menubar of all windows. Open the window you need to recreate the issue in. (Or get to the point you need to be at, right before the issue happens and you want to start the scriptlog at this point.)

7. Click on DEBUG in the top menubar and click on LOG SCRIPTS to start the script log. Enter a filename and path of where you want to save the scriptlog to and click Save. (This puts a checkmark next to LOG SCRIPTS under the DEBUG menu and the scriptlog is now running.)

8. Perform the action you want captured in the log. Cancel out of any posting reports (if prompted) and then STOP! 

9. Now click on DEBUG again and click on LOG SCRIPTS again to stop the log. (This removes the checkmark next to LOG SCRIPTS under the DEBUG menu item).

Note: You can stop and start the script log by clicking on DEBUG | LOG SCRIPTS to have the checkmark next to LOG SCRIPTS or not. The checkmark means it is running, and no checkmark means it is not. Clicking on LOG SCRIPTS will add/remove the checkmark to start/stop the scriptlog from running. Each time you start it, it should prompt you for a new filename and path to save the new log to. 
 
10. Locate the Script.log file in the path you generated it to, and open it with Notepad to ensure it captured the process. 
a. Send this script.log file (or whatever you named it) to the Support Engineer for further analysis.

b. Also send the Dynamics.set file (from the GP code folder) to the Engineer, so they can cross-reference any dictionary ID's to the products you have installed.

 
Propriétés

ID d'article : 3077859 - Dernière mise à jour : 3 juil. 2015 - Révision : 1

Commentaires