XML 20 R62.htm IDEA: XBRL DOCUMENT v3.20.1
Derivative Instruments - Schedule Of Effects Of Cash Flow Hedges Included In Statement Of Income (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 29, 2020
Feb. 28, 2019
Feb. 29, 2020
Feb. 28, 2019
Derivative [Line Items]        
Revenue $ 623,848 $ 658,671 $ 1,393,207 $ 1,263,194
Cost of revenue 537,512 604,827 1,214,682 1,136,817
Interest and foreign exchange 12,609 9,237 25,461 13,641
Sales        
Derivative [Line Items]        
Amount of gain (loss) on cash flow hedge activity 67 (411) (99) (667)
Cost of Sales        
Derivative [Line Items]        
Amount of gain (loss) on cash flow hedge activity 73 (358) (2) (590)
Interest and Foreign Exchange        
Derivative [Line Items]        
Amount of gain (loss) on cash flow hedge activity $ (369) $ (151) $ (536) $ (295)