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 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 | 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 | 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 | 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 9,190   9,190   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 69,131   69,131   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 6,461   6,461   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,392 (63,794) (17,168) (26,756)  
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 4,699 3,541 8,327 7,278  
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 | 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) 5,282   5,282   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) $ 1,122   $ 1,122   $ 1,133