XML 132 R99.htm IDEA: XBRL DOCUMENT v3.23.3
Derivative Financial Instruments and Hedging Activities - Pretax Gains (Losses) on Derivatives Accounted for as Hedging Instruments (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
Cash Flow Hedging [Member] | Commodity [Member]      
Derivative Instruments, Gain (Loss) [Line Items]      
Other Comprehensive Income (Loss), Derivative, Excluded Component, Increase (Decrease), after Adjustments and Tax $ (12,285) $ (2,071) $ (7,824)