XML 130 R95.htm IDEA: XBRL DOCUMENT v3.24.3
Derivative Financial Instruments and Hedging Activities - Derivative Assets and Liabilities Not Designated as Hedging Instruments (Details) - Not Designated as Hedging Instrument - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2024
Aug. 31, 2023
Aug. 31, 2022
Derivative [Line Items]      
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net $ (29,391) $ (392,365) $ (556,656)
Commodity derivatives | Cost of goods sold      
Derivative [Line Items]      
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net 5,380 (360,937) (568,877)
Foreign exchange derivatives | Cost of goods sold      
Derivative [Line Items]      
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net (31,874) (30,898) 9,587
Foreign exchange derivatives | Marketing, general and administrative expenses      
Derivative [Line Items]      
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net (2,897) (530) 577
Other derivatives | Other income      
Derivative [Line Items]      
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net $ 0 $ 0 $ 2,057