v3.26.1
Derivative financial instruments - Schedule of Fair Value Hedging Instruments, Statements of Financial Performance and Financial Position, Location (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2026
Jul. 31, 2025
Oct. 31, 2025
Derivative [Line Items]          
Hedged Liability, Fair Value Hedge, Cumulative Increase (Decrease) $ 884   $ 884   $ 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 9,814   9,814   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 60,241   60,241   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 391   391   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 11,320   11,320   12,031
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,117   5,117   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,134   5,134   4,961
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 5,520 $ (3,912) 10,882 $ (8,655)  
Foreign Currency Forward Contracts | Cash Flow Hedging | Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:AccruedLiabilitiesCurrentAndNoncurrent          
Derivative [Line Items]          
Derivative Instruments in Hedges, Net Investment in Foreign Operations, Assets, Fair Value 4,697   4,697   676
Foreign Currency Forward Contracts | Cash Flow Hedging | Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:LiabilitiesOtherThanLongtermDebtNoncurrent          
Derivative [Line Items]          
Derivative Instruments in Hedges, Net Investment in Foreign Operations, Assets, Fair Value 60,241   60,241   61,725
Foreign Currency Forward Contracts | Cash Flow Hedging | Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:OtherAssets          
Derivative [Line Items]          
Derivative Instruments in Hedges, Net Investment in Foreign Operations, Assets, Fair Value 0   0   0
Foreign Currency Forward Contracts | Cash Flow Hedging | Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:PrepaidExpenseCurrentAndNoncurrent          
Derivative [Line Items]          
Derivative Instruments in Hedges, Net Investment in Foreign Operations, Assets, Fair Value 5,693   5,693   5,937
Foreign Currency Forward Contracts | Net Investment Hedging | Designated as Hedging Instrument | 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,789 (8,919) (7,379) (35,675)  
Foreign Currency Forward Contracts | Net Investment Hedging | Designated as Hedging Instrument | 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 5,372 3,552 13,698 10,830  
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 (5,520) $ 3,912 (10,882) $ 8,655  
Interest Rate Swap | Cash Flow Hedging | Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:OtherAssets          
Derivative [Line Items]          
Hedged Liability, Fair Value Hedge, Cumulative Increase (Decrease) 391   391   10,353
Interest Rate Swap | Cash Flow Hedging | Designated as Hedging Instrument | Balance Sheet Location [Axis]: us-gaap:PrepaidExpenseCurrentAndNoncurrent          
Derivative [Line Items]          
Hedged Liability, Fair Value Hedge, Cumulative Increase (Decrease) $ 493   $ 493   $ 1,133