Written By Kris Berger, QA Development Lead at Rockton Software |
The following is a step by step example of how to enter this setup information in Auditor by Rockton Software, so that you can view Checkbook audits from the Checkbook Maintenance window. This example can be used as a guide when setting up your own audits for viewing in other areas of Microsoft Dynamics GP.
Setting Up an Audit Group
In order to have audit data to view, it is necessary to first set up an Audit Group to log changes to Checkbook data. An Audit Group defines which form or table that we want to be audited when data is changed. In this example, we want to audit changes to the data in the Checkbook Master table. We will use a SQL table audit to do this.
- In Microsoft Dynamics GP, click the Auditor toolbar icon ( ). Then, choose Audit Group.s
- In the Group Maintenance Window, enter BANKING as the Group ID and Group Description.
- Click the Add Audit button ( ) and choose SQL Table Audit from the drop-list.
- Since we want to create an audit on the Checkbook Master, type CM00100 in the Search field, and then choose either the Enter or tab key.
- From the results, highlight the CM00100 for the two database and then click the Select button.
- In the Auditor SQL Table Maintenance Window, we need to setup what options and fields we want to audit and receive audit results on. Mark the following three tracking options: Track Adds, Track Deletes, and Track Changes.
- From the Field Names, mark the Audit column checkboxes for the following field names: DSCRIPTN, BANKID, CURNCYID, ACTINDEX, NXTCHNUM, Next_Deposit_Number.
- Click OK to save those changes.
- Back on the Group Maintenance window, click Save. Then close the Group Maintenance window.
Setting Up a Related Audit
Now, set up a Related Audit so that the audit information captured by the Audit Group defined above can be viewed directly from the Checkbook Maintenance window based on rules that you assign.
- Go to Cards > Financial > Checkbook
- On the Checkbook Maintenance window, go to Additional > View Related Audits.
- In the View Related Audits window, click the Rules button.
- In the Related Audit Rules list, highlight Window 'Checkbook Maintenance' and click the Add Rule button ( ) to create a new rule for this window.
- In the Rule Setup window, click the Add Window Field Relationship button ( ) to open the Window Field Relationship Setup window.
- In the Window Field, type or select Checkbook ID.
- From the Field List, type CHECKBOOK ID and then tab. Choose Yes when prompted to create the Field List.
Setting Up a Field List
- In the Field List Setup window, type CHEKBKID int he New Field Name box and then click the top Insert.
- Type Checkbook ID in the New Field Name box and click this same Insert button again. You will now have two Field Name Variations appearing in the Field List.
- Click Save to close the Field List Setup window.
- Click OK to close the Window Field Relationship Setup window.
- Click Save to close the Rule Setup window.
- You will now see the Rule that you have created on the Related Audit Rules Setup window.
- Click OK to close the Related Audit Rules Setup window.
- Finally, click OK to close the View Related Audits window.
Testing the Audit and Viewing Results
Once the setup information is complete, you can now test and verify that the audit information is working correctly by making changes to one of the fields that you have chosen to audit from within the Audit Group created earlier:
- Go to Cards > Financial > Checkbook. Select an existing Checkbook from the lookup.
- In the Description field, enter a new description such as TEST, and then click the Save button. This action should have been saved to the Audit Log.
- Select that same Checkbook ID again.
- Go to Additional ? View Related Audits. You should now see that the audit that was logged in step is listed on the View Related Audits window.
Want to learn more? View a Rockton Software Auditor Demo!
No comments:
Post a Comment