The Same-Same-Different Test (SSD)
The purpose of the Same-Same-Same test (SSS) and the Same-Same-Different test (SSD) IDEAScripts are to identify abnormal duplications as potential indicators of errors or fraud.
This script was originally writting using the Duplicate - Exclude function in IDEA but it turns out that there is a bug in version 7 and 8 of IDEA in which this function does not capture duplicate entries, it would only capture the first entry. The script was rewritten to capture dulicates that fit the Same-Same-Different test.
September 2015 - Rewrote the interface.
IDEAScript
The Same-Same-Same Test (SSS)
and
The Same-Same-Different Test (SSD)
The purpose of the Same-Same-Same test (SSS) and the Same-Same-Different test (SSD) IDEAScripts are to identify abnormal duplications as potential indicators of errors or fraud.
These tests are based on chapter 12 of Mark J. Nigrini’s book, entitled, “Forensic Analytics: Methods and Techniques for Forensic Accounting Investigations”. [1]
The Same-Same-Same Test (SSS)
This test identifies records which contain fields of information that are exact duplicates of other records. The user may select up to 8 fields to match.
Application of this test will assist in detecting duplicate expenses claimed, occurrences of the same payment to vendors made in error, multiple warranty claims or duplicated service fees paid by private or government health plans.
The Same-Same-Different Test (SSD)
This test is used to identify records with near duplicates for fields selected by the users. The user may select up to 8 fields to match and one field that is excluded from the matching.
Note that for IDEA Versions 8.5 and prior, when applying Duplicate Key Exclusion manually, incorrect output results where there are duplicate field contents for the selected exclusion field. This SSD IDEAScript produces the correct output.
In chapter 12 of Dr. Mark Nigirini’s Forensic Analytics book, he states, “The same-same-different test is a powerful test for errors and fraud. This test should be considered for every forensic analytics project.” His experience has shown that, “This test always detects errors in accounts payable data” and “The longer the time period, the higher the chances of SSD detecting errors”.
One such example which demonstrates the value of this test is in the detection of instances where a payment is made to a wrong vendor initially and then subsequently the correct vendor is properly paid (same invoice number, same amount, and different vendors).
If a business system does not process orders in real time, the above example may indicate customers attempting to split their orders to avoid exceeding their credit limit (same invoice date, same customer number, same product code, and different sales representatives).
Hi, Brian.
Hi, Brian.
I am trying to accomplish two things.
First, my need is that the droplist boxes would default to the field names of the table i.e., field 1 in table = DropListBox1; field 2 in table = DropListBox2 ...
Second, when a field has already been chosen for a particular DropListBox, there is no way of changing that back to a blank.
Thank you, in advance.
Regards,
Mark
Hello Brian
Hello Brian
Yes. When you run the script and click say help and opens the help dialog, if you click the help button again it opens another instance of help dialog. My question is how to prevent the user clicking on the help button or any other button on the main menu when a dialog is opened.
Hi Klem,
Hi Klem,
It has been awhile since I looked at this script. I see it needs updating. How I write my code for the dialogs is quite a bit different then how I do it now and this script is do for an upgrade, also I had never realized that you can have muliple other dialogs open, I guess I never tried to hit the button multiple times. I will have to adjust the script to fix this problem. Stay tuned for the update. Thanks for pointing out this problem.
Brian
How import is it? One of the
How import is it? One of the problems is the "x" and the cancel button return the same code so I can't tell when a user has selected the "x" versus the cancel. The only way I can think to get around this is to replace the cancel button and all the related code with a regular pushbutton that I make to look like a cancel button, that way I can tell the difference and have code to reopen the dialog because I think I can only test it once the dialog is closed. I also looked around for any code that I could use to actually disable the "x" but couldn't find anything.
Where is the Script File
Hi Brian,
This script sounds awesome (recently ran into the one-match limitation of duplicate exclusion matching), but the updated version of the .iss file does not appear to be linked (only the documentation). I can find the related SSST entry and its script.Thanks,
Matthew
You should be able to access
You should be able to access it here: http://ideascripting.com/sites/default/files/SSD%20Test%20Update%20Sept…
Error in step 3 of the SSD Test March 9 2012
Hi, there is an error (macro stops with an error message) if the file created by step 2 is an empty file - which happens when there were no duplicates found during step 2. This situation should be handled e.g. with a message that says "No duplicates found" or by creating an empty final file.
RegardsOliver