XML 123 R80.htm IDEA: XBRL DOCUMENT v3.23.3
FAIR VALUE (Reconciliation of Commodity Derivative Recognized in Other Comprehensive Income) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
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 $ 143,500 $ 26,413 $ (15,007)
Recognized in OCI 62,706 138,760 43,798
Recognized in earnings (11,781) (21,673) (2,378)
Ending Balance $ 194,425 $ 143,500 $ 26,413