XML 78 R51.htm IDEA: XBRL DOCUMENT v3.24.4
DERIVATIVES - Schedule of Derivative Location On Balance Sheet (Details) - USD ($)
$ in Thousands
Nov. 30, 2024
Aug. 31, 2024
Commodity | Prepaid Expenses and Other Current Assets    
Derivatives, Fair Value [Line Items]    
Derivative assets (other current assets) $ 11,254 $ 9,823
Commodity | Other Noncurrent Assets    
Derivatives, Fair Value [Line Items]    
Derivative assets (other current assets) 26,945 30,402
Commodity | Accounts Payable and Accrued Liabilities    
Derivatives, Fair Value [Line Items]    
Derivative liabilities (accrued expenses and other payables) 1,932 3,445
Commodity | Other Noncurrent Liabilities    
Derivatives, Fair Value [Line Items]    
Derivative liabilities (accrued expenses and other payables) 38 157
Foreign exchange | Prepaid Expenses and Other Current Assets    
Derivatives, Fair Value [Line Items]    
Derivative assets (other current assets) 1,746 419
Foreign exchange | Accounts Payable and Accrued Liabilities    
Derivatives, Fair Value [Line Items]    
Derivative liabilities (accrued expenses and other payables) $ 441 $ 1,885