XML 64 R52.htm IDEA: XBRL DOCUMENT v3.21.1
DERIVATIVES (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 28, 2021
Feb. 29, 2020
Feb. 28, 2021
Feb. 29, 2020
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) on commodity derivatives accounted for as cash flow hedging instruments $ 7,723 $ (3,646) $ 8,887 $ (2,932)
Commodity | Cost of goods sold        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges $ (11,000) $ 1,700 $ (16,600) $ 400