XML 114 R99.htm IDEA: XBRL DOCUMENT v3.10.0.1
Derivative Financial Instruments and Hedging Activities (Fair Value of Derivative Instruments) (Details) - Forward foreign exchange contracts - USD ($)
$ in Thousands
Aug. 31, 2018
Aug. 31, 2017
Designated as Hedging Instruments | Prepaid expenses and other current assets    
Derivatives, Fair Value [Line Items]    
Asset Derivatives $ 225 $ 8,380
Designated as Hedging Instruments | Accrued expenses    
Derivatives, Fair Value [Line Items]    
Liability Derivatives 13,364 1,408
Not Designated as Hedging Instruments | Prepaid expenses and other current assets    
Derivatives, Fair Value [Line Items]    
Asset Derivatives 10,125 31,280
Not Designated as Hedging Instruments | Accrued expenses    
Derivatives, Fair Value [Line Items]    
Liability Derivatives $ 46,171 $ 9,131