v3.26.1
Financial Instruments - Schedule of Gross Notional and Fair Value of Derivative Instruments in the Condensed Consolidated Balance Sheets (Details) - USD ($)
$ in Millions
Jul. 31, 2026
Oct. 31, 2025
Derivatives, Fair Value    
Outstanding Gross Notional $ 18,232 $ 17,108
Balance Sheet Location [Axis]: us-gaap:NotesAndLoansReceivableNetCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 61 55
Balance Sheet Location [Axis]: us-gaap:OtherAssetsCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 120 140
Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesCurrent    
Derivatives, Fair Value    
Derivative liability, fair value 165 147
Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesNoncurrent    
Derivatives, Fair Value    
Derivative liability, fair value 179 142
Derivatives Designated as Hedging Instruments    
Derivatives, Fair Value    
Outstanding Gross Notional 10,886 9,788
Derivatives Designated as Hedging Instruments | Balance Sheet Location [Axis]: us-gaap:NotesAndLoansReceivableNetCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 60 53
Derivatives Designated as Hedging Instruments | Balance Sheet Location [Axis]: us-gaap:OtherAssetsCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 102 101
Derivatives Designated as Hedging Instruments | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesCurrent    
Derivatives, Fair Value    
Derivative liability, fair value 115 125
Derivatives Designated as Hedging Instruments | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesNoncurrent    
Derivatives, Fair Value    
Derivative liability, fair value 171 138
Derivatives Designated as Hedging Instruments | Fair Value Hedges: | Interest rate contracts    
Derivatives, Fair Value    
Outstanding Gross Notional 1,200 600
Derivatives Designated as Hedging Instruments | Fair Value Hedges: | Interest rate contracts | Balance Sheet Location [Axis]: us-gaap:NotesAndLoansReceivableNetCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 0 0
Derivatives Designated as Hedging Instruments | Fair Value Hedges: | Interest rate contracts | Balance Sheet Location [Axis]: us-gaap:OtherAssetsCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 0 0
Derivatives Designated as Hedging Instruments | Fair Value Hedges: | Interest rate contracts | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesCurrent    
Derivatives, Fair Value    
Derivative liability, fair value 0 0
Derivatives Designated as Hedging Instruments | Fair Value Hedges: | Interest rate contracts | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesNoncurrent    
Derivatives, Fair Value    
Derivative liability, fair value 77 51
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts    
Derivatives, Fair Value    
Outstanding Gross Notional 7,561 7,062
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts | Balance Sheet Location [Axis]: us-gaap:NotesAndLoansReceivableNetCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 33 29
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts | Balance Sheet Location [Axis]: us-gaap:OtherAssetsCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 80 81
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesCurrent    
Derivatives, Fair Value    
Derivative liability, fair value 77 95
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesNoncurrent    
Derivatives, Fair Value    
Derivative liability, fair value 51 67
Derivatives Designated as Hedging Instruments | Net Investment Hedges: | Foreign currency contracts    
Derivatives, Fair Value    
Outstanding Gross Notional 2,125 2,126
Derivatives Designated as Hedging Instruments | Net Investment Hedges: | Foreign currency contracts | Balance Sheet Location [Axis]: us-gaap:NotesAndLoansReceivableNetCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 27 24
Derivatives Designated as Hedging Instruments | Net Investment Hedges: | Foreign currency contracts | Balance Sheet Location [Axis]: us-gaap:OtherAssetsCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 22 20
Derivatives Designated as Hedging Instruments | Net Investment Hedges: | Foreign currency contracts | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesCurrent    
Derivatives, Fair Value    
Derivative liability, fair value 38 30
Derivatives Designated as Hedging Instruments | Net Investment Hedges: | Foreign currency contracts | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesNoncurrent    
Derivatives, Fair Value    
Derivative liability, fair value 43 20
Derivatives Not Designated as Hedging Instruments    
Derivatives, Fair Value    
Outstanding Gross Notional 7,346 7,320
Derivatives Not Designated as Hedging Instruments | Balance Sheet Location [Axis]: us-gaap:NotesAndLoansReceivableNetCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 1 2
Derivatives Not Designated as Hedging Instruments | Balance Sheet Location [Axis]: us-gaap:OtherAssetsCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 18 39
Derivatives Not Designated as Hedging Instruments | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesCurrent    
Derivatives, Fair Value    
Derivative liability, fair value 50 22
Derivatives Not Designated as Hedging Instruments | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesNoncurrent    
Derivatives, Fair Value    
Derivative liability, fair value 8 4
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts    
Derivatives, Fair Value    
Outstanding Gross Notional 7,192 7,167
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Balance Sheet Location [Axis]: us-gaap:NotesAndLoansReceivableNetCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 1 2
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Balance Sheet Location [Axis]: us-gaap:OtherAssetsCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 17 37
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesCurrent    
Derivatives, Fair Value    
Derivative liability, fair value 48 22
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesNoncurrent    
Derivatives, Fair Value    
Derivative liability, fair value 8 4
Derivatives Not Designated as Hedging Instruments | Other derivatives    
Derivatives, Fair Value    
Outstanding Gross Notional 154 153
Derivatives Not Designated as Hedging Instruments | Other derivatives | Balance Sheet Location [Axis]: us-gaap:NotesAndLoansReceivableNetCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 0 0
Derivatives Not Designated as Hedging Instruments | Other derivatives | Balance Sheet Location [Axis]: us-gaap:OtherAssetsCurrent    
Derivatives, Fair Value    
Derivative asset, fair value 1 2
Derivatives Not Designated as Hedging Instruments | Other derivatives | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesCurrent    
Derivatives, Fair Value    
Derivative liability, fair value 2 0
Derivatives Not Designated as Hedging Instruments | Other derivatives | Balance Sheet Location [Axis]: us-gaap:OtherLiabilitiesNoncurrent    
Derivatives, Fair Value    
Derivative liability, fair value $ 0 $ 0