XML 34 R52.htm IDEA: XBRL DOCUMENT v3.20.1
Derivatives and Hedging - Financial Statement Impact of Derivatives (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2020
Apr. 30, 2019
Apr. 30, 2020
Apr. 30, 2019
Designated as Hedging Instrument        
Gain Loss on Derivatives Not Designated as Hedging Instruments [Abstract]        
Total (loss) $ (7,763) $ (4,027) $ (11,709) $ (4,027)
Foreign currency forward contracts | Designated as Hedging Instrument        
Gain Loss on Derivatives Not Designated as Hedging Instruments [Abstract]        
Amount of gain (loss) recognized in income 856 (263) (159) (263)
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Amount of loss recognized in income, net of tax 856 (263) (159) (263)
Interest rate swap agreements | Designated as Hedging Instrument        
Gain Loss on Derivatives Not Designated as Hedging Instruments [Abstract]        
Amount of gain (loss) recognized in income (8,619) (3,764) (11,550) (3,764)
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Amount of loss recognized in income, net of tax (8,619) (3,764) (11,550) (3,764)
Sales        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
(Loss) Reclassified from AOCI, Net of Tax   (351)   (351)
Sales | Designated as Hedging Instrument        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Total (loss) (121)   (555)  
Sales | Foreign currency forward contracts | Cash Flow Hedging        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
(Loss) Reclassified from AOCI, Net of Tax (121) (191) (555) (191)
Sales | Foreign currency forward contracts | Designated as Hedging Instrument        
Gain Loss on Derivatives Not Designated as Hedging Instruments [Abstract]        
Amount of gain (loss) recognized in income   (160)   (160)
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Amount of loss recognized in income, net of tax   (160)   (160)
Sales | Interest rate swap agreements | Cash Flow Hedging        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
(Loss) Reclassified from AOCI, Net of Tax 0 0 0 0
Sales | Interest rate swap agreements | Designated as Hedging Instrument        
Gain Loss on Derivatives Not Designated as Hedging Instruments [Abstract]        
Amount of gain (loss) recognized in income 0   0  
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Amount of loss recognized in income, net of tax 0   0  
Total (loss)   0   0
Acquisition-related Costs        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
(Loss) Reclassified from AOCI, Net of Tax   2,930   (70,777)
Acquisition-related Costs | Foreign currency forward contracts | Cash Flow Hedging        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
(Loss) Reclassified from AOCI, Net of Tax   0   0
Acquisition-related Costs | Foreign currency forward contracts | Designated as Hedging Instrument        
Gain Loss on Derivatives Not Designated as Hedging Instruments [Abstract]        
Amount of gain (loss) recognized in income   2,930   (70,777)
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Amount of loss recognized in income, net of tax   2,930   (70,777)
Acquisition-related Costs | Interest rate swap agreements | Cash Flow Hedging        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
(Loss) Reclassified from AOCI, Net of Tax   0   0
Acquisition-related Costs | Interest rate swap agreements | Designated as Hedging Instrument        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Total (loss)   0   0
Interest Expense        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
(Loss) Reclassified from AOCI, Net of Tax   77   77
Interest Expense | Designated as Hedging Instrument        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Total (loss) (1,490)   (3,172)  
Interest Expense | Foreign currency forward contracts | Cash Flow Hedging        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
(Loss) Reclassified from AOCI, Net of Tax 0 0 0 0
Interest Expense | Foreign currency forward contracts | Designated as Hedging Instrument        
Gain Loss on Derivatives Not Designated as Hedging Instruments [Abstract]        
Amount of gain (loss) recognized in income   0   0
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Amount of loss recognized in income, net of tax   0   0
Interest Expense | Interest rate swap agreements | Cash Flow Hedging        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
(Loss) Reclassified from AOCI, Net of Tax (1,383) (55) (2,897) (55)
Interest Expense | Interest rate swap agreements | Designated as Hedging Instrument        
Gain Loss on Derivatives Not Designated as Hedging Instruments [Abstract]        
Amount of gain (loss) recognized in income (107)   (275)  
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Amount of loss recognized in income, net of tax $ (107)   $ (275)  
Total (loss)   $ 132   $ 132