1. Create a new Payment query.
2. Expand Payment Distribution
3. Expand Transaction Codes
4. Select the transaction code and set equal to.
5. Add the appropriate fields on the Output and Sort tabs.
6. View the results.