XML 77 R65.htm IDEA: XBRL DOCUMENT v3.20.2
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 9 Months Ended
May 31, 2020
May 31, 2019
May 31, 2020
May 31, 2019
Derivative Instruments, Gain (Loss) [Line Items]        
Foreign currency gain (loss) $ 36,900 $ 28,300 $ 400 $ (24,300)
Forward foreign exchange contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Amount of (Loss) Gain Recognized in Net Income on Derivatives $ (36,955) $ (33,476) $ (3,436) $ 9,332