v3.26.1
Derivative financial instruments - Schedule of Fair Value Hedging Instruments (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
Oct. 31, 2025
Derivative [Line Items]          
Hedged Liability, Fair Value Hedge, Cumulative Increase (Decrease) $ 6,404   $ 6,404   $ 11,486
Balance Sheet Location [Axis]: us-gaap:AccruedLiabilitiesCurrentAndNoncurrent          
Derivative [Line Items]          
Derivative Fair Value Of Derivative Liability, Both Designated and Not Designated as Hedges 14,240   14,240   16,026
Balance Sheet Location [Axis]: us-gaap:LiabilitiesOtherThanLongtermDebtNoncurrent          
Derivative [Line Items]          
Derivative Fair Value Of Derivative Liability, Both Designated and Not Designated as Hedges 69,131   69,131   61,725
Balance Sheet Location [Axis]: us-gaap:OtherAssets          
Derivative [Line Items]          
Derivative Fair Value Of Derivative Asset, Both Designated and Not Designated as Hedges 5,282   5,282   10,353
Balance Sheet Location [Axis]: us-gaap:PrepaidExpenseCurrentAndNoncurrent          
Derivative [Line Items]          
Derivative Fair Value Of Derivative Asset, Both Designated and Not Designated as Hedges 13,166   13,166   12,031
Foreign Currency Forward Contracts | Cash Flow Hedging | Location, Statement of Income, Balance [Axis]: us-gaap:InterestExpenseOperating          
Derivative [Line Items]          
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification and Tax 3,007 $ (9,581) 5,362 $ (12,567)  
Foreign Currency Forward Contracts | Not Designated as Hedging Instrument          
Derivative [Line Items]          
Notional Amounts of foreign currency derivative contracts 1,049,730   1,049,730   1,137,956
Gains (losses) on foreign currency forward contracts (12,657) 22,314 10,922 17,951  
Change in unrealized gain (loss) on foreign currency derivative instruments 10,272 (25,513) (15,601) (20,819)  
Foreign Currency Forward Contracts | Not Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:AccruedLiabilitiesCurrentAndNoncurrent          
Derivative [Line Items]          
Derivative Instruments Not Designated as Hedging Instruments, Asset, at Fair Value 5,050   5,050   15,350
Foreign Currency Forward Contracts | Not Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:PrepaidExpenseCurrentAndNoncurrent          
Derivative [Line Items]          
Derivative Instruments Not Designated as Hedging Instruments, Asset, at Fair Value 5,583   5,583   4,961
Foreign Currency Forward Contracts | Designated as Hedging Instrument | Cash Flow Hedging          
Derivative [Line Items]          
Notional Amounts of foreign currency derivative contracts 920,584   920,584   863,904
Foreign Currency Forward Contracts | Designated as Hedging Instrument | Net Investment Hedging | Location, Statement of Income, Balance [Axis]: us-gaap:CumulativeTranslationAdjustmentNetOfTaxPeriodIncreaseDecrease          
Derivative [Line Items]          
Other Comprehensive Income (Loss), Net Investment Hedge, Gain (Loss), Effective Portion, Net 9,392 (63,794) (17,168) (26,756)  
Foreign Currency Forward Contracts | Designated as Hedging Instrument | Net Investment Hedging | Location, Statement of Income, Balance [Axis]: us-gaap:InterestExpenseOperating          
Derivative [Line Items]          
Gain (Loss) from Components Excluded from Assessment of Fair Value Hedge Effectiveness, Net 4,699 3,541 8,327 7,278  
Foreign Currency Forward Contracts | Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:AccruedLiabilitiesCurrentAndNoncurrent | Cash Flow Hedging          
Derivative [Line Items]          
Derivative Instruments in Hedges, Net Investment in Foreign Operations, Assets, Fair Value 9,190   9,190   676
Foreign Currency Forward Contracts | Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:LiabilitiesOtherThanLongtermDebtNoncurrent | Cash Flow Hedging          
Derivative [Line Items]          
Derivative Instruments in Hedges, Net Investment in Foreign Operations, Assets, Fair Value 69,131   69,131   61,725
Foreign Currency Forward Contracts | Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:OtherAssets | Cash Flow Hedging          
Derivative [Line Items]          
Derivative Instruments in Hedges, Net Investment in Foreign Operations, Assets, Fair Value 0   0   0
Foreign Currency Forward Contracts | Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:PrepaidExpenseCurrentAndNoncurrent | Cash Flow Hedging          
Derivative [Line Items]          
Derivative Instruments in Hedges, Net Investment in Foreign Operations, Assets, Fair Value 6,461   6,461   5,937
Interest Rate Swap | Cash Flow Hedging | Location, Statement of Income, Balance [Axis]: us-gaap:InterestExpenseOperating          
Derivative [Line Items]          
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification and Tax (3,007) $ 9,581 (5,362) $ 12,567  
Interest Rate Swap | Designated as Hedging Instrument | Cash Flow Hedging          
Derivative [Line Items]          
Notional Amounts of foreign currency derivative contracts 300,000   300,000   300,000
Interest Rate Swap | Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:OtherAssets | Cash Flow Hedging          
Derivative [Line Items]          
Hedged Liability, Fair Value Hedge, Cumulative Increase (Decrease) 5,282   5,282   10,353
Interest Rate Swap | Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:PrepaidExpenseCurrentAndNoncurrent | Cash Flow Hedging          
Derivative [Line Items]          
Hedged Liability, Fair Value Hedge, Cumulative Increase (Decrease) $ 1,122   $ 1,122   $ 1,133