XML 70 R58.htm IDEA: XBRL DOCUMENT v3.19.1
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 6 Months Ended
Feb. 28, 2019
Feb. 28, 2018
Feb. 28, 2019
Feb. 28, 2018
Derivative Instruments, Gain (Loss) [Line Items]        
Foreign currency losses $ 57,100 $ 41,700 $ 52,600 $ 35,500
Forward foreign exchange contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Amount of Gain Recognized in Net Income on Derivatives $ 49,794 $ 48,933 $ 42,808 $ 45,744