Issue 23471 - fix call to xtcommission.getsalesreps()

This function's call to xtcommission.getsalesreps() was not updated to include the two new parameters, saletype_id and item_custprice, thereby leading to the SQL error noted in the issue.