XML 72 R61.htm IDEA: XBRL DOCUMENT v3.22.2
DERIVATIVES (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2022
May 31, 2021
May 31, 2022
May 31, 2021
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) on commodity derivatives accounted for as cash flow hedging instruments $ 25,927 $ 12,145 $ 81,378 $ 21,032
Commodity        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) on commodity derivatives accounted for as cash flow hedging instruments 25,920 12,167 81,285 20,971
Commodity | Cost of goods sold        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges 2,042 (7,921) 2,574 (24,535)
Foreign exchange | SG&A expenses        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges $ 6,157 $ 1,915 $ (2,886) $ 75