XML 76 R60.htm IDEA: XBRL DOCUMENT v3.23.3
DERIVATIVES AND HEDGING - Schedule of Derivative Instruments, Gain (Loss) (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2021
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax $ (675) $ 9,330 $ 10,168
Sales      
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax $ 455 $ (723) $ (1,050)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Net sales Net sales Net sales
Interest Expense      
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax $ 1,544 $ (5,270) $ (9,976)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Interest expense, net Interest expense, net Interest expense, net
Foreign currency forward contracts      
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax $ 0 $ 6 $ (63)
Foreign currency forward contracts | Sales      
Derivative [Line Items]      
Gain (Loss) Reclassified from AOCI, Net of Tax (58) (723) (1,050)
Amount of gain (loss) recognized in income, net of tax 2,742    
Foreign currency forward contracts | Interest Expense      
Derivative [Line Items]      
Gain (Loss) Reclassified from AOCI, Net of Tax 0 0 0
Amount of gain (loss) recognized in income, net of tax 0    
Commodities swap agreements | Sales      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax (2,229)    
Commodities swap agreements | Interest Expense      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax 0    
Interest rate swap agreements      
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax (675) 9,324 10,231
Other comprehensive income (loss), net of tax, before reclassification 702 3,626 340
Interest rate swap agreements | Sales      
Derivative [Line Items]      
Gain (Loss) Reclassified from AOCI, Net of Tax 0 0 0
Amount of gain (loss) recognized in income, net of tax 0 0 0
Interest rate swap agreements | Interest Expense      
Derivative [Line Items]      
Gain (Loss) Reclassified from AOCI, Net of Tax 1,377 (5,698) (9,891)
Amount of gain (loss) recognized in income, net of tax $ 167 $ 428 $ (85)