XML 64 R52.htm IDEA: XBRL DOCUMENT v3.21.2
DERIVATIVES (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2021
May 31, 2020
May 31, 2021
May 31, 2020
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) on commodity derivatives accounted for as cash flow hedging instruments $ 12,145 $ (5,143) $ 21,032 $ (8,075)
Commodity        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) on commodity derivatives accounted for as cash flow hedging instruments 12,200 (5,200) 21,000 (8,100)
Commodity | Cost of goods sold        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges $ (7,900) $ 1,500 $ (24,500) $ 1,900