XML 77 R52.htm IDEA: XBRL DOCUMENT v3.25.2
DERIVATIVES - Schedule of Derivative Location On Balance Sheet (Details) - USD ($)
$ in Thousands
May 31, 2025
Aug. 31, 2024
Commodity | Prepaid Expenses and Other Current Assets    
Derivatives, Fair Value [Line Items]    
Derivative assets (other current assets) $ 13,621 $ 9,823
Commodity | Other Noncurrent Assets    
Derivatives, Fair Value [Line Items]    
Derivative assets (other current assets) 56,691 30,402
Commodity | Accounts Payable and Accrued Liabilities    
Derivatives, Fair Value [Line Items]    
Derivative liabilities (accrued expenses and other payables) 168 3,445
Commodity | Other Noncurrent Liabilities    
Derivatives, Fair Value [Line Items]    
Derivative liabilities (accrued expenses and other payables) 0 157
Foreign exchange | Prepaid Expenses and Other Current Assets    
Derivatives, Fair Value [Line Items]    
Derivative assets (other current assets) 1,428 419
Foreign exchange | Accounts Payable and Accrued Liabilities    
Derivatives, Fair Value [Line Items]    
Derivative liabilities (accrued expenses and other payables) 1,323 1,885
Foreign exchange | Other Noncurrent Liabilities    
Derivatives, Fair Value [Line Items]    
Derivative liabilities (accrued expenses and other payables) $ 13 $ 0