XML 133 R106.htm IDEA: XBRL DOCUMENT v3.19.3
Derivative Financial Instruments and Hedging Activities (Derivatives Not Designated As Hedging Instruments) (Details) - Cost of revenue - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2019
Aug. 31, 2018
Aug. 31, 2017
Derivative [Line Items]      
Foreign currency gain $ 14,900 $ 36,700 $ 90,300
Forward foreign exchange contracts      
Derivative [Line Items]      
Amount of Loss Recognized in Net Income on Derivatives $ (29,557) $ (27,774) $ (95,665)