XML 86 R53.htm IDEA: XBRL DOCUMENT v3.21.4
DERIVATIVES (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2021
Nov. 30, 2020
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) on commodity derivatives accounted for as cash flow hedging instruments $ 22,254 $ 1,164
Gain (loss) on commodity derivatives accounted for as cash flow hedging instruments, to be reclassified 19,185 1,110
Commodity    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) on commodity derivatives accounted for as cash flow hedging instruments 22,200 1,200
Commodity | Cost of goods sold    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) before income taxes for derivatives not designated as hedges 2,700 (5,600)
Foreign exchange    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) before income taxes for derivatives not designated as hedges $ (8,000) $ (1,900)