XML 63 R52.htm IDEA: XBRL DOCUMENT v3.22.1
DERIVATIVES (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 28, 2022
Feb. 28, 2021
Feb. 28, 2022
Feb. 28, 2021
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) on commodity derivatives accounted for as cash flow hedging instruments $ 33,197 $ 7,723 $ 55,451 $ 8,887
Commodity        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) on commodity derivatives accounted for as cash flow hedging instruments 33,190 7,723 55,365 8,887
Commodity | Cost of goods sold        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges (2,214) (11,025) 532 (16,614)
Foreign exchange | SG&A expenses        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges $ (1,048) $ (125) $ (9,043) $ (1,990)