Top Records Extraction Exclusion

Background: 

This script will perform the Top Records Extraction function within IDEA but at the same time it will also creates a second file with all the records that are not part of the Top Records Extractions. After selecting your file and hitting ok you will be taken to the Top Records Extraction dialog where you can enter all the parameters needed for the Top Records Extraction.  The script will then perform the extraction and then do a join to extract all the non selected items.