XML 64 R52.htm IDEA: XBRL DOCUMENT v3.7.0.1
Derivative Financial Instruments and Hedging Activities (Fair Value of Derivative Instruments on Condensed Consolidated Balance Sheets for Foreign Currency Risk Management Purposes) (Details 3) - Forward foreign exchange contracts - USD ($)
$ in Thousands
Feb. 28, 2017
Aug. 31, 2016
Designated as Hedging Instruments | Accrued expenses    
Derivatives, Fair Value [Line Items]    
Forward foreign exchange contracts, Liability Derivatives $ 2,012 $ 1,986
Designated as Hedging Instruments | Prepaid expenses and other current assets    
Derivatives, Fair Value [Line Items]    
Forward foreign exchange contracts, Asset Derivatives 2,916 420
Not Designated as Hedging Instrument | Accrued expenses    
Derivatives, Fair Value [Line Items]    
Forward foreign exchange contracts, Liability Derivatives 7,933 10,801
Not Designated as Hedging Instrument | Prepaid expenses and other current assets    
Derivatives, Fair Value [Line Items]    
Forward foreign exchange contracts, Asset Derivatives $ 8,587 $ 3,850