XML 57 R47.htm IDEA: XBRL DOCUMENT v3.23.1
Derivative Instruments and Hedging Activities Pre-Tax Gains and Losses related to Foreign Exchange Contracts (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Apr. 30, 2023
Apr. 30, 2022
Derivative Instruments and Hedging Activities Disclosure [Abstract]        
Net gain recognized in other comprehensive (loss) income $ 496 $ 475 $ 2,165 $ 674
Foreign currency denominated debt (net investment hedges) (661) 0 (1,502) 0
Forward exchange contracts (cash flow hedges) $ 463 $ 44 $ 1,261 $ 647