XML 71 R57.htm IDEA: XBRL DOCUMENT v3.22.2.2
DERIVATIVES AND HEDGING - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Jul. 31, 2019
Derivative [Line Items]        
Maturity period 10 months      
Foreign currency transaction $ 62,244 $ (1,943) $ (25,915)  
Not Designated as Hedging Instrument        
Derivative [Line Items]        
Notional 25,628 32,466    
Derivative liability $ 1,077 $ 1,948    
Derivative Liability, Statement of Financial Position [Extensible Enumeration] Other Other    
Designated as Hedging Instrument        
Derivative [Line Items]        
Notional $ 307,322 $ 524,037    
Foreign currency forward contracts | Designated as Hedging Instrument        
Derivative [Line Items]        
Notional $ 33,997 41,899    
Interest rate swap agreements | Designated as Hedging Instrument        
Derivative [Line Items]        
Notional amount       $ 900,000
Term of swap 4 years 6 months      
Interest rate swap agreements | Designated as Hedging Instrument        
Derivative [Line Items]        
Notional $ 273,325 $ 482,138