XML 128 R95.htm IDEA: XBRL DOCUMENT v3.23.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, 2023
Aug. 31, 2022
Aug. 31, 2021
Derivative [Line Items]      
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net $ (392,365) $ (556,656) $ (942,710)
Commodity derivatives | Cost of goods sold      
Derivative [Line Items]      
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net (360,937) (568,877) (971,581)
Foreign exchange derivatives | Cost of goods sold      
Derivative [Line Items]      
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net (30,898) 9,587 25,277
Foreign exchange derivatives | Marketing, general and administrative expenses      
Derivative [Line Items]      
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net (530) 577 1,105
Other derivatives | Other income      
Derivative [Line Items]      
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net $ 0 $ 2,057 $ 2,489