XML 102 R77.htm IDEA: XBRL DOCUMENT v3.24.3
DERIVATIVES (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2024
Aug. 31, 2023
Aug. 31, 2022
Derivative Instruments, Gain (Loss) [Line Items]      
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, after Tax $ (129,678) $ 6,395 $ 138,634
Commodity      
Derivative Instruments, Gain (Loss) [Line Items]      
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, after Tax (129,709) 6,367 138,534
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax 2,031 11,325 27,267
Commodity | Cost of goods sold      
Derivative Instruments, Gain (Loss) [Line Items]      
Gain (loss) before taxes for derivatives not designated as hedging instruments (10,195) (3,028) 15,862
Foreign exchange      
Derivative Instruments, Gain (Loss) [Line Items]      
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, after Tax 31 28 100
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax 250 244 244
Foreign exchange | SG&A expenses      
Derivative Instruments, Gain (Loss) [Line Items]      
Gain (loss) before taxes for derivatives not designated as hedging instruments $ 6,974 $ 12,265 $ (6,547)