XML 54 R39.htm IDEA: XBRL DOCUMENT v3.20.2
Derivative Financial Instruments and Hedging Activities (Tables)
12 Months Ended
Aug. 31, 2020
Derivative Instruments and Hedging Activities Disclosure [Abstract]  
Schedule of Net Gains from Forward Contracts Recorded in Consolidated Statements of Operations
The following table presents the net gains (losses) from forward contracts recorded in the Consolidated Statements of Operations for the periods indicated (in thousands):
Derivatives Not Designated as Hedging Instruments Under ASC 815
 
Location of Gain (Loss) on Derivatives Recognized in Net Income
 
Amount of Gain (Loss) Recognized in Net Income on Derivatives
 
 
 
 
Fiscal Year Ended August 31,
 
 
 
 
2020
 
2019
 
2018
Forward foreign exchange contracts(1)
 
Cost of revenue
 
$
42,077

 
$
(29,557
)
 
$
(27,774
)
 
(1) 
For the fiscal year ended August 31, 2020, the Company recognized $47.4 million of foreign currency losses in cost of revenue, which are offset by the gains from the forward foreign exchange contracts. For the fiscal years ended August 31, 2019 and 2018, the Company recognized $14.9 million and $36.7 million, respectively, of foreign currency gains in cost of revenue, which are offset by the losses from the forward foreign exchange contracts.