XML 70 R57.htm IDEA: XBRL DOCUMENT v3.21.1
Derivative Instruments - Effects of Cash Flow Hedges Included in Statements of Operations (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 28, 2021
Feb. 29, 2020
Feb. 28, 2021
Feb. 29, 2020
Derivative [Line Items]        
Revenue $ 295,622 $ 623,848 $ 698,611 $ 1,393,207
Cost of revenue 277,951 537,512 640,269 1,214,682
Interest and foreign exchange 9,568 12,609 20,671 25,461
Sales        
Derivative [Line Items]        
Amount of gain (loss) on cash flow hedge activity (377) 67 (623) (99)
Cost of Sales        
Derivative [Line Items]        
Amount of gain (loss) on cash flow hedge activity (8) 73 (49) (2)
Interest and Foreign Exchange        
Derivative [Line Items]        
Amount of gain (loss) on cash flow hedge activity $ (1,263) $ (369) $ (2,594) $ (536)