XML 79 R80.htm IDEA: XBRL DOCUMENT v3.19.3
DERIVATIVES AND RISK MANAGEMENT (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2019
Aug. 31, 2018
Aug. 31, 2017
Derivative Instruments, Gain (Loss) [Line Items]      
Gain (loss) before taxes for derivatives not designated as hedging instruments $ 1,173 $ 7,103 $ (14,542)
Commodity | Cost of goods sold      
Derivative Instruments, Gain (Loss) [Line Items]      
Gain (loss) before taxes for derivatives not designated as hedging instruments 1,716 7,043 (9,095)
Foreign exchange | Cost of goods sold      
Derivative Instruments, Gain (Loss) [Line Items]      
Gain (loss) before taxes for derivatives not designated as hedging instruments 0 (50) (47)
Foreign exchange | SG&A expenses      
Derivative Instruments, Gain (Loss) [Line Items]      
Gain (loss) before taxes for derivatives not designated as hedging instruments $ (543) $ 110 $ (5,400)