v3.25.2
Financial Instruments - Gross Notional and Fair Value of Instruments in the Balance Sheets (Details) - USD ($)
$ in Millions
Jul. 31, 2025
Oct. 31, 2024
Derivatives, Fair Value    
Outstanding Gross Notional $ 18,831 $ 17,970
Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 149 191
Long-Term Financing Receivables and Other Assets    
Derivatives, Fair Value    
Derivative asset, fair value 48 108
Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 219 121
Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 156 42
Derivatives Designated as Hedging Instruments    
Derivatives, Fair Value    
Outstanding Gross Notional 12,716 12,295
Derivatives Designated as Hedging Instruments | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 80 145
Derivatives Designated as Hedging Instruments | Long-Term Financing Receivables and Other Assets    
Derivatives, Fair Value    
Derivative asset, fair value 46 103
Derivatives Designated as Hedging Instruments | Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 178 101
Derivatives Designated as Hedging Instruments | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 155 38
Derivatives Designated as Hedging Instruments | Fair Value Hedges: | Interest rate contracts    
Derivatives, Fair Value    
Outstanding Gross Notional 3,100 2,500
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 14 58
Derivatives Designated as Hedging Instruments | Fair Value Hedges: | Interest rate contracts | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 58 0
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts    
Derivatives, Fair Value    
Outstanding Gross Notional 7,601 7,809
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 51 107
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 25 59
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts | Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 142 31
Derivatives Designated as Hedging Instruments | Cash Flow Hedges: | Foreign currency contracts | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 79 25
Derivatives Designated as Hedging Instruments | Net Investment Hedges: | Foreign currency contracts    
Derivatives, Fair Value    
Outstanding Gross Notional 2,015 1,986
Derivatives Designated as Hedging Instruments | Net Investment Hedges: | Foreign currency contracts | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 29 38
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 21 44
Derivatives Designated as Hedging Instruments | Net Investment Hedges: | Foreign currency contracts | Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 22 12
Derivatives Designated as Hedging Instruments | Net Investment Hedges: | Foreign currency contracts | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 18 13
Derivatives Not Designated as Hedging Instruments    
Derivatives, Fair Value    
Outstanding Gross Notional 6,115 5,675
Derivatives Not Designated as Hedging Instruments | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 69 46
Derivatives Not Designated as Hedging Instruments | Long-Term Financing Receivables and Other Assets    
Derivatives, Fair Value    
Derivative asset, fair value 2 5
Derivatives Not Designated as Hedging Instruments | Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 41 20
Derivatives Not Designated as Hedging Instruments | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 1 4
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts    
Derivatives, Fair Value    
Outstanding Gross Notional 5,974 5,528
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 68 46
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Long-Term Financing Receivables and Other Assets    
Derivatives, Fair Value    
Derivative asset, fair value 2 5
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Other Accrued Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 40 18
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value 1 4
Derivatives Not Designated as Hedging Instruments | Other derivatives    
Derivatives, Fair Value    
Outstanding Gross Notional 141 147
Derivatives Not Designated as Hedging Instruments | Other derivatives | Other Current Assets    
Derivatives, Fair Value    
Derivative asset, fair value 1 0
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 1 2
Derivatives Not Designated as Hedging Instruments | Other derivatives | Long-Term Other Liabilities    
Derivatives, Fair Value    
Derivative liability, fair value $ 0 $ 0