XML 57 R46.htm IDEA: XBRL DOCUMENT v3.8.0.1
DERIVATIVES AND RISK MANAGEMENT (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 28, 2018
Feb. 28, 2017
Feb. 28, 2018
Feb. 28, 2017
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges $ (1,762) $ (849) $ 1,174 $ (1,437)
Commodity | Cost of goods sold        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges (2) (146) 573 (4,775)
Foreign exchange | Cost of goods sold        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges (31) (25) (50) (33)
Foreign exchange | SG&A expenses        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) before income taxes for derivatives not designated as hedges $ (1,729) $ (678) $ 651 $ 3,371