XML 73 R62.htm IDEA: XBRL DOCUMENT v3.19.2
DERIVATIVES AND RISK MANAGEMENT (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2019
May 31, 2018
May 31, 2019
May 31, 2018
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges $ 3,336 $ 2,016 $ (329) $ 3,190
Commodity | Cost of goods sold        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges 3,408 1,498 143 2,071
Foreign exchange | Cost of goods sold        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges 0 0 0 (50)
Foreign exchange | SG&A expenses        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges $ (72) $ 518 $ (472) $ 1,169