XML 83 R49.htm IDEA: XBRL DOCUMENT v3.24.2
Derivative Financial Instruments and Hedging Activities - Pretax Gains (Losses) On Derivatives Not Accounted For As Hedging Instruments (Details) - Not Designated as Hedging Instrument - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2024
May 31, 2023
May 31, 2024
May 31, 2023
Derivative Instruments and Hedging Activities Disclosures [Line Items]        
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net $ 14,233 $ (80,374) $ 47,483 $ (217,820)
Commodity derivatives | Cost of goods sold        
Derivative Instruments and Hedging Activities Disclosures [Line Items]        
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net 35,591 (59,177) 74,478 (194,832)
Foreign exchange derivatives | Cost of goods sold        
Derivative Instruments and Hedging Activities Disclosures [Line Items]        
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net (19,803) (21,753) (25,411) (23,792)
Foreign exchange derivatives | Selling, General and Administrative Expenses [Member]        
Derivative Instruments and Hedging Activities Disclosures [Line Items]        
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net $ (1,555) $ 556 $ (1,584) $ 804