XML 59 R47.htm IDEA: XBRL DOCUMENT v3.24.1.1.u2
Derivatives and Hedging - Financial Statement Impact of Derivatives (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2024
Apr. 30, 2023
Apr. 30, 2024
Apr. 30, 2023
Gain (Loss) recognized in Other Comprehensive Income, net of tax        
Total gain (loss) $ 0 $ (452) $ 0 $ (367)
Interest rate swap agreements        
Gain (Loss) recognized in Other Comprehensive Income, net of tax        
Total gain (loss) 0 (452) 0 (367)
Other comprehensive income (loss), before reclassification 0 16 0 734
Sales        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Total gain (loss) (278) 690 (353) 349
Sales | Interest rate swap agreements        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Gain (loss) recognized in income, net of tax 0 0 0 0
Sales | Interest rate swap agreements | Cash Flow Hedging        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Gain (Loss) Reclassified from AOCI, Net of Tax 0 0 0 0
Sales | Foreign currency forward contracts        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Gain (loss) recognized in income, net of tax (278) 690 (353) 2,636
Sales | Foreign currency forward contracts | Cash Flow Hedging        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Gain (Loss) Reclassified from AOCI, Net of Tax     0 (58)
Sales | Commodities swap agreements        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Gain (loss) recognized in income, net of tax     0 (2,229)
Interest expense        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Total gain (loss) 45 479 (94) 1,283
Interest expense | Interest rate swap agreements        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Gain (loss) recognized in income, net of tax 45 11 (94) 182
Interest expense | Interest rate swap agreements | Cash Flow Hedging        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Gain (Loss) Reclassified from AOCI, Net of Tax 0 468 0 1,101
Interest expense | Foreign currency forward contracts        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Gain (loss) recognized in income, net of tax $ 0 $ 0 0 0
Interest expense | Foreign currency forward contracts | Cash Flow Hedging        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Gain (Loss) Reclassified from AOCI, Net of Tax     0 0
Interest expense | Commodities swap agreements        
Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net [Abstract]        
Gain (loss) recognized in income, net of tax     $ 0 $ 0