XML 105 R80.htm IDEA: XBRL DOCUMENT v3.24.3
FAIR VALUE (Reconciliation of Commodity Derivative Recognized in Other Comprehensive Income) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2024
Aug. 31, 2023
Aug. 31, 2022
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]      
Fair Value, Net Derivative Asset (Liability), Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Other Comprehensive Income or Comprehensive Income [Extensible Enumeration] Other comprehensive income (loss) Other comprehensive income (loss) Other comprehensive income (loss)
Fair Value, Net Derivative Asset (Liability), Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Cost of goods and services sold Cost of goods and services sold Cost of goods and services sold
Commodity | Significant Unobservable Inputs (Level 3)      
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]      
Beginning Balance $ 194,425 $ 143,500 $ 26,413
Recognized in OCI (148,533) 62,706 138,760
Recognized in earnings (7,863) (11,781) (21,673)
Ending Balance $ 38,029 $ 194,425 $ 143,500