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
Apr. 30, 2026
Oct. 31, 2025
Derivatives, Fair Value    
Outstanding Gross Notional $ 17,313 $ 17,108
Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 123 140
Long-Term Financing Receivables and Other Assets    
Derivatives, Fair Value    
Derivative asset, fair value 57 55
Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 195 147
Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 189 142
Derivatives Designated as Hedging Instruments    
Derivatives, Fair Value    
Outstanding Gross Notional 10,935 9,788
Derivatives Designated as Hedging Instruments | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 84 101
Derivatives Designated as Hedging Instruments | Long-Term Financing Receivables and Other Assets    
Derivatives, Fair Value    
Derivative asset, fair value 53 53
Derivatives Designated as Hedging Instruments | Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 157 125
Derivatives Designated as Hedging Instruments | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 176 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 | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 0 0
Derivatives Designated as Hedging Instruments | Fair Value Hedges: | Interest rate contracts | Long-Term Financing Receivables and Other Assets    
Derivatives, Fair Value    
Derivative asset, fair value 0 0
Derivatives Designated as Hedging Instruments | Fair Value Hedges: | Interest rate contracts | Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 0 0
Derivatives Designated as Hedging Instruments | Fair Value Hedges: | Interest rate contracts | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 58 51
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts    
Derivatives, Fair Value    
Outstanding Gross Notional 7,610 7,062
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 62 81
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts | Long-Term Financing Receivables and Other Assets    
Derivatives, Fair Value    
Derivative asset, fair value 27 29
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts | Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 113 95
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 74 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 | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 22 20
Derivatives Designated as Hedging Instruments | Net Investment Hedges: | Foreign currency contracts | Long-Term Financing Receivables and Other Assets    
Derivatives, Fair Value    
Derivative asset, fair value 26 24
Derivatives Designated as Hedging Instruments | Net Investment Hedges: | Foreign currency contracts | Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 44 30
Derivatives Designated as Hedging Instruments | Net Investment Hedges: | Foreign currency contracts | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 44 20
Derivatives Not Designated as Hedging Instruments    
Derivatives, Fair Value    
Outstanding Gross Notional 6,378 7,320
Derivatives Not Designated as Hedging Instruments | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 39 39
Derivatives Not Designated as Hedging Instruments | Long-Term Financing Receivables and Other Assets    
Derivatives, Fair Value    
Derivative asset, fair value 4 2
Derivatives Not Designated as Hedging Instruments | Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 38 22
Derivatives Not Designated as Hedging Instruments | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 13 4
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts    
Derivatives, Fair Value    
Outstanding Gross Notional 6,232 7,167
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 30 37
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Long-Term Financing Receivables and Other Assets    
Derivatives, Fair Value    
Derivative asset, fair value 4 2
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 38 22
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 13 4
Derivatives Not Designated as Hedging Instruments | Other derivatives    
Derivatives, Fair Value    
Outstanding Gross Notional 146 153
Derivatives Not Designated as Hedging Instruments | Other derivatives | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 9 2
Derivatives Not Designated as Hedging Instruments | Other derivatives | Long-Term Financing Receivables and Other Assets    
Derivatives, Fair Value    
Derivative asset, fair value 0 0
Derivatives Not Designated as Hedging Instruments | Other derivatives | Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 0 0
Derivatives Not Designated as Hedging Instruments | Other derivatives | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value $ 0 $ 0