XML 66 R54.htm IDEA: XBRL DOCUMENT v3.8.0.1
Derivative Financial Instruments and Hedging Activities - Fair Value of Derivative Instruments Located on Consolidated Balance Sheets (Details) - Forward foreign exchange contracts - USD ($)
$ in Thousands
Feb. 28, 2018
Aug. 31, 2017
Designated as Hedging Instruments | Prepaid expenses and other current assets    
Derivatives, Fair Value [Line Items]    
Forward foreign exchange contracts, Asset Derivatives $ 19,601 $ 8,380
Designated as Hedging Instruments | Accrued expenses    
Derivatives, Fair Value [Line Items]    
Forward foreign exchange contracts, Liability Derivatives 396 1,408
Not Designated as Hedging Instrument | Prepaid expenses and other current assets    
Derivatives, Fair Value [Line Items]    
Forward foreign exchange contracts, Asset Derivatives 44,214 31,280
Not Designated as Hedging Instrument | Accrued expenses    
Derivatives, Fair Value [Line Items]    
Forward foreign exchange contracts, Liability Derivatives $ 13,270 $ 9,131