XML 49 R63.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Derivative Financial Instruments and Hedging Activities (Fair Value of Derivative Instruments Recorded on Consolidated Statements of Operations) (Details) - Cost of revenue - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2019
Nov. 30, 2018
Derivative Instruments, Gain (Loss) [Line Items]    
Foreign currency gain (loss) $ (28,900) $ 4,500
Forward foreign exchange contracts    
Derivative Instruments, Gain (Loss) [Line Items]    
Amount of (Loss) Gain Recognized in Net Income on Derivatives $ 26,718 $ (6,986)