v3.26.1
Financial Assets and Liabilities - Schedule of Location of the Amounts of Gains and Losses on Derivative Instrument Fair Values for Designated Hedging Instruments, Net of Tax (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2026
Jul. 31, 2025
Financial Assets and Liabilities [Line Items]        
Amount of  gains (losses) recognized in OCI on derivatives (effective portion) $ 1,924 $ 5,598 $ (15,375) $ (76,558)
Amount of gains (losses) reclassified from OCI (effective portion) (1,297) (283) (6,549) (6,547)
Foreign exchange contracts | Income Statement Location [Axis]: us-gaap:OperatingExpenses        
Financial Assets and Liabilities [Line Items]        
Amount of  gains (losses) recognized in OCI on derivatives (effective portion) (4,573) 847 (32,519) (1,295)
Amount of gains (losses) reclassified from OCI (effective portion) (4,132) (8) (8,996) (5,664)
Foreign exchange contracts | Income Statement Location [Axis]: us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax        
Financial Assets and Liabilities [Line Items]        
Amount of  gains (losses) recognized in OCI on derivatives (effective portion) 6,497 4,751 17,144 17,953
Amount of gains (losses) reclassified from OCI (effective portion) 4,166 1,056 6,441 1,336
Interest rate contracts        
Financial Assets and Liabilities [Line Items]        
Amount of  gains (losses) recognized in OCI on derivatives (effective portion) 0 0 0 (93,216)
Amount of gains (losses) reclassified from OCI (effective portion) $ (1,331) $ (1,331) $ (3,994) $ (2,219)