XML 73 R50.htm IDEA: XBRL DOCUMENT v3.23.4
DERIVATIVES - Schedule of Derivative Location On Balance Sheet (Details) - USD ($)
$ in Thousands
Nov. 30, 2023
Aug. 31, 2023
Commodity | Prepaid Expenses and Other Current Assets    
Derivatives, Fair Value [Line Items]    
Derivative assets (other current assets) $ 9,025 $ 11,427
Commodity | Other Noncurrent Assets    
Derivatives, Fair Value [Line Items]    
Derivative assets (other current assets) 135,939 184,261
Commodity | Accounts Payable and Accrued Liabilities    
Derivatives, Fair Value [Line Items]    
Derivative liabilities (accrued expenses and other payables) 6,066 2,983
Commodity | Other Noncurrent Liabilities    
Derivatives, Fair Value [Line Items]    
Derivative liabilities (accrued expenses and other payables) 1,003 1,085
Foreign exchange | Prepaid Expenses and Other Current Assets    
Derivatives, Fair Value [Line Items]    
Derivative assets (other current assets) 9,916 1,898
Foreign exchange | Accounts Payable and Accrued Liabilities    
Derivatives, Fair Value [Line Items]    
Derivative liabilities (accrued expenses and other payables) $ 5,868 $ 2,566