XML 120 R77.htm IDEA: XBRL DOCUMENT v3.23.3
DERIVATIVES (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
Derivative Instruments, Gain (Loss) [Line Items]      
Effective Portion of Derivatives Designated as Cash Flow Hedging Instruments Recognized in Other Comprehensive Income, Net of Income Taxes (in thousands) $ 6,395 $ 138,634 $ 35,492
Commodity      
Derivative Instruments, Gain (Loss) [Line Items]      
Effective Portion of Derivatives Designated as Cash Flow Hedging Instruments Recognized in Other Comprehensive Income, Net of Income Taxes (in thousands) 6,367 138,534 35,392
Commodity | Cost of goods sold      
Derivative Instruments, Gain (Loss) [Line Items]      
Gain (loss) before taxes for derivatives not designated as hedging instruments (3,028) 15,862 (18,035)
Amount of Gain Reclassified from AOCI into Earnings on Derivatives (in thousands) 11,325 27,267 2,378
Foreign exchange      
Derivative Instruments, Gain (Loss) [Line Items]      
Effective Portion of Derivatives Designated as Cash Flow Hedging Instruments Recognized in Other Comprehensive Income, Net of Income Taxes (in thousands) 28 100 100
Foreign exchange | SG&A expenses      
Derivative Instruments, Gain (Loss) [Line Items]      
Gain (loss) before taxes for derivatives not designated as hedging instruments 12,265 (6,547) (3,674)
Amount of Gain Reclassified from AOCI into Earnings on Derivatives (in thousands) $ 244 $ 244 $ 555