XML 94 R79.htm IDEA: XBRL DOCUMENT v3.22.2.2
DERIVATIVES (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2022
Aug. 31, 2021
Aug. 31, 2020
Derivative Instruments, Gain (Loss) [Line Items]      
Net unrealized holding gain (loss) $ 138,634 $ 35,492 $ (12,136)
Commodity      
Derivative Instruments, Gain (Loss) [Line Items]      
Net unrealized holding gain (loss) 138,534 35,392 (12,136)
Commodity | Cost of goods sold      
Derivative Instruments, Gain (Loss) [Line Items]      
Gain (loss) before taxes for derivatives not designated as hedging instruments 15,862 (18,035) (5,963)
Foreign exchange | SG&A expenses      
Derivative Instruments, Gain (Loss) [Line Items]      
Gain (loss) before taxes for derivatives not designated as hedging instruments $ (6,547) $ (3,674) $ 220