v3.25.1
Derivatives and Hedging (Tables)
9 Months Ended
Apr. 30, 2025
Derivative Instruments and Hedging Activities Disclosure [Abstract]  
Schedule of Derivative Instruments Gain (Loss)
Three Months Ended April 30,
20252024
 Interest Interest
SalesExpenseSalesExpense
Gain (Loss) on Derivatives Not Designated as Hedging Instruments
Gain (loss) recognized in income, net of tax
Foreign currency forward contracts$(74)$— $(278)$— 
Interest rate swap agreements— (49)— 45 
Total gain (loss)$(74)$(49)$(278)$45 


Nine Months Ended April 30,
20252024
 Interest Interest
SalesExpenseSalesExpense
Gain (Loss) on Derivatives Not Designated as Hedging Instruments
Gain (loss) recognized in income, net of tax
Foreign currency forward contracts$(488)$— $(353)$— 
Interest rate swap agreements— (46)— (94)
Total gain (loss)$(488)$(46)$(353)$(94)