CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME - USD ($) $ in Thousands |
3 Months Ended |
9 Months Ended |
Apr. 30, 2020 |
Apr. 30, 2019 |
Apr. 30, 2020 |
Apr. 30, 2019 |
| Statement of Comprehensive Income [Abstract] |
|
|
|
|
| Net income |
$ 13,633
|
$ 34,781
|
$ 84,684
|
$ 94,645
|
| Foreign currency translation adjustments |
(17,424)
|
(7,337)
|
(18,383)
|
(10,641)
|
| Cash flow hedges: |
|
|
|
|
| Reclassification adjustment for gains included in net income |
(293)
|
(292)
|
(779)
|
(579)
|
| Total cash flow hedges |
(2,044)
|
(72)
|
(1,971)
|
(202)
|
| Pension and other post-retirement benefits: |
|
|
|
|
| Net loss recognized in other comprehensive loss |
(105)
|
(124)
|
(315)
|
(423)
|
| Actuarial gain amortization |
0
|
0
|
(309)
|
(169)
|
| Total pension and other post-retirement benefits |
(105)
|
(124)
|
(624)
|
(592)
|
| Other comprehensive loss, before tax |
(19,573)
|
(7,533)
|
(20,978)
|
(11,435)
|
| Income tax expense related to items of other comprehensive loss |
(179)
|
(348)
|
(10)
|
(610)
|
| Other comprehensive loss, net of tax |
(19,752)
|
(7,881)
|
(20,988)
|
(12,045)
|
| Comprehensive Income [Member] |
|
|
|
|
| Pension and other post-retirement benefits: |
|
|
|
|
| Comprehensive (loss) income |
$ (6,119)
|
$ 26,900
|
$ 63,696
|
$ 82,600
|