XML 74 R62.htm IDEA: XBRL DOCUMENT v3.21.2
Derivative Instruments - Effects of Cash Flow Hedges Included in Statements of Income (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2021
May 31, 2020
May 31, 2021
May 31, 2020
Derivative [Line Items]        
Revenue $ 450,143 $ 762,557 $ 1,148,754 $ 2,155,764
Cost of revenue 375,011 655,026 1,015,280 1,869,708
Interest and foreign exchange 10,204 7,562 30,875 33,023
Sales        
Derivative [Line Items]        
Amount of gain (loss) on cash flow hedge activity (522) (485) (1,145) (584)
Cost of Sales        
Derivative [Line Items]        
Amount of gain (loss) on cash flow hedge activity (24) (1,226) (73) (1,228)
Interest and Foreign Exchange        
Derivative [Line Items]        
Amount of gain (loss) on cash flow hedge activity $ (1,307) $ (783) $ (3,901) $ (1,319)