XML 70 R59.htm IDEA: XBRL DOCUMENT v3.22.2
DERIVATIVES (Narrative) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2022
May 31, 2021
May 31, 2022
May 31, 2021
Aug. 31, 2021
Derivative [Line Items]          
Unrealized holding gain $ 25,927 $ 12,145 $ 81,378 $ 21,032  
Gain from components excluded from assessment of cash flow hedge effectiveness     16,100    
Foreign exchange          
Derivative [Line Items]          
Derivative notional amount 377,200   377,200   $ 389,500
Commodity          
Derivative [Line Items]          
Derivative notional amount 228,800   228,800   $ 213,400
Unrealized holding gain 25,920 12,167 81,285 20,971  
Commodity | Cost of goods sold          
Derivative [Line Items]          
Gain (loss) before income taxes for derivatives not designated as hedges $ 2,042 $ (7,921) $ 2,574 $ (24,535)