Income Taxes - Reconciliation (Details) - USD ($) |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 30, 2017 |
Apr. 30, 2016 |
Apr. 30, 2017 |
Apr. 30, 2016 |
|
| Income Taxes - Income tax reconciliation | ||||
| Consolidated effective income tax rate (as a percent) | 31.90% | 36.70% | ||
| Excess tax benefits | (2.70%) | |||
| Acquisition related items, net | (0.50%) | |||
| International operations | (0.30%) | |||
| Other | (1.30%) | |||
| Reduction of income tax expense | $ 797,000 | $ 2,071,000 | ||
| New Accounting Pronouncement, Early Adoption, Effect | ASU 2016-09 Share-Based Payment Accounting | ||||
| Income Taxes - Income tax reconciliation | ||||
| Reduction of income tax expense | $ (95,000) | $ 2,191,000 | ||