XML 74 R51.htm IDEA: XBRL DOCUMENT v3.23.4
DERIVATIVES (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2023
Nov. 30, 2022
Derivative Instruments, Gain (Loss) [Line Items]    
Effective Portion of Derivatives Designated as Cash Flow Hedging Instruments Recognized in Other Comprehensive Income (Loss), Net of Income Taxes (in thousands) $ (42,945) $ 68,045
Commodity    
Derivative Instruments, Gain (Loss) [Line Items]    
Effective Portion of Derivatives Designated as Cash Flow Hedging Instruments Recognized in Other Comprehensive Income (Loss), Net of Income Taxes (in thousands) (42,952) 68,039
Commodity | Cost of goods sold    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (Loss) on Derivatives Not Designated as Hedging Instruments (in thousands) (72) (3,085)
Amount of Gain Reclassified from AOCI into Earnings on Derivatives (in thousands) 1,765 8,605
Foreign exchange    
Derivative Instruments, Gain (Loss) [Line Items]    
Effective Portion of Derivatives Designated as Cash Flow Hedging Instruments Recognized in Other Comprehensive Income (Loss), Net of Income Taxes (in thousands) 7 6
Foreign exchange | SG&A expenses    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (Loss) on Derivatives Not Designated as Hedging Instruments (in thousands) 3,539 3,462
Amount of Gain Reclassified from AOCI into Earnings on Derivatives (in thousands) $ 61 $ 61