E9 - SQL SalesRepList info to share

I have been working on an SQL query to extract commissions information and stumbled upon a welcomed surprise. While trying to deal with the parsing of SalesRepList, I found that Epicor has included the BAQ / Progress functions 'entry' and 'num_entries' within the SQL database functions. Sure makes a difficult situation just a bit easier.

Tim