XML 50 R39.htm IDEA: XBRL DOCUMENT v3.8.0.1
Derivatives and Hedging Activities - Additional Information (Detail)
$ in Thousands, £ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2018
USD ($)
Apr. 30, 2017
USD ($)
Apr. 30, 2018
USD ($)
Apr. 30, 2017
USD ($)
Jul. 31, 2017
USD ($)
May 13, 2010
GBP (£)
Derivatives, Fair Value [Line Items]            
Derivative Maturities     18 months      
Derivative, Notional Amount $ 37,907   $ 37,907   $ 81,195  
Cash Flow Hedge Gain (Loss) to be Reclassified During Next 12 Months (65) $ (171) (65) $ (171)    
Cash Flow Hedge Gain (Loss) Reclassified to Earnings (264) (114) (446) (530)    
Total Outstanding Forward Foreign Exchange Contracts 34,680   34,680      
Gain (Loss) on Foreign Currency Derivative Instruments Not Designated as Hedging Instruments $ 9 $ 1,725 $ 29 $ (3,321)    
Senior Unsecured Notes [Member]            
Derivatives, Fair Value [Line Items]            
Derivative, Amount of Hedged Item | £           £ 45