Subject:
The steps here will describe how to create an Auditor report for non-GP Users.
Resolution:
Here are the steps to follow:
- Deploy Excel Reports in Microsoft Dynamics GP.
- For more information on how to do this, see the Excel report deployment section of the System Setup PDF file.
- The typical location of this PDF file is: C:\Program Files (x86)\Microsoft Dynamics\GP2016\Documentation.
- Create a SQL View in Microsoft SQL Server Management Studio.
- Open Microsoft SQL Server Management Studio.
- Connect to your Microsoft Dynamics GP Server.
- Expand the Server name, expand Databases, and then expand DYNAMICS (or the name of the DYNAMICS database).
- Right-click on Views, and then click New View.
- In the Add Table window, click Close.
- In the section with SELECT FROM, replace SELECT FROM with the following:
- select * from RSAS015
- Note: If you would like to narrow down the results, you can add a where clause. For example, if you would like to only see the Audit Records for the PM Vendor Master File (PM00200), you can use this select statement: select * from RSAS015 where RSA_Table_Physical_Name = ‘PM00200’
- Once the statement is in the section, right-click in that section, and then click Execute Statement.
- Click File, and then click Save.
- Enter a name for the View. For example, Auditor Records for Excel, Vendor Audits (if you are viewing just the results for the PM00200 table), Auditor SQL View, etc. Note the name you enter for the View.
- Click OK.
- Close the View window.
- Create a SmartList Designer report in Microsoft Dynamics GP.
- Log into Microsoft Dynamics GP as sa or a POWERUSER.
- Go to Microsoft Dynamics GP | SmartList.
- Click New.
- Enter Auditor Records for Excel, for example, in the List Name field. Note the List Name you enter.
- For the results to appear in the Auditor section, select Auditor for Product.
- Expand Views, and then expand System.
- Mark the checkbox for the SQL View you created in Step 2.
- Note: If you want to only see several of the columns from the table in your SmartList report, expand the View and mark the appropriate checkboxes. Here is a list of the recommended columns: User ID, Date, Time, Record Key, Table Name, Window Name, Field Name, Old Field Value, New Field Value, Note, Company Name, Product Name, and Event Type.
- You can then add a Relationship to another table and a Filter if needed. Or you can modify the report afterwards to add these options.
- Click OK.
- Publish the SmartList Designer report in Microsoft Dynamics GP.
- In SmartList, expand the Folder for the List Name you created in Step 3, and then click the Asterisk.
- Click Search to add any restrictions to the results and increase the Maximum Records from 1,000 to 1,000,000,000.
- Once you have the desired results, click Favorites to create a Favorite.
- Then click Publish.
- View the Excel report with real-time data.
- You will be able to see and click on the report in the location you specified for the Excel reports in Step 1. If you are not sure what the path is set to for saving them, go to Microsoft Dynamics GP | Tools | Setup | System | Reporting Tools Setup. Click Excel Reports. For example, my location is C:\ExcelReports\. I found my reports in this location: C:\ExcelReports\Reports\TWO.
- Note: The Auditor records in the RSAS015 table are for all companies even though the location has you going to the path with the Company name where you selected to publish the report from.