v3.26.1
DERIVATIVES, Effect of derivative instruments on Consolidated Statement of Operations (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2026
Jul. 31, 2025
Derivative [Line Items]        
Cash Flow Hedge Gain (Loss) to be Reclassified within Twelve Months     $ 8  
Income Statement Location [Axis]: us-gaap:OtherNonoperatingIncomeExpense        
Derivative [Line Items]        
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net $ (4) $ (12) 3 $ 43
Designated as Hedging Instruments | Cash Flow Hedging | Foreign Exchange Contracts        
Derivative [Line Items]        
Fair Value, Asset (Liability), Recurring Basis, Still Held, Unrealized Gain (Loss), OCI (2) 5 5 2
Designated as Hedging Instruments | Cash Flow Hedging | Foreign Exchange Contracts | Income Statement Location [Axis]: us-gaap:CostOfGoodsAndServicesSold        
Derivative [Line Items]        
Gain (loss) reclassified from accumulated other comprehensive income (loss) into earnings: 2 (3) 10 1
Gain (loss) excluded from effectiveness testing recognized in earnings based on amortization approach: 1 1 3 3
Designated as Hedging Instruments | Cash Flow Hedging | Foreign Exchange Contracts | Income Statement Location [Axis]: us-gaap:InterestExpenseNonoperating        
Derivative [Line Items]        
Gain (loss) reclassified from accumulated other comprehensive income (loss) into earnings: 3 3 8 8
Designated as Hedging Instruments | Cash Flow Hedging | Foreign Exchange Contracts | Income Statement Location [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense        
Derivative [Line Items]        
Gain (loss) reclassified from accumulated other comprehensive income (loss) into earnings: 0 2 3 2
Gain (loss) excluded from effectiveness testing recognized in earnings based on amortization approach: 0 (1) 0 (1)
Designated as Hedging Instruments | Net Investment Hedging | Foreign Exchange Contracts        
Derivative [Line Items]        
Fair Value, Asset (Liability), Recurring Basis, Still Held, Unrealized Gain (Loss), OCI   0   0
Designated as Hedging Instruments | Net Investment Hedging | Foreign Exchange Contracts | Income Statement Location [Axis]: us-gaap:InterestExpenseNonoperating        
Derivative [Line Items]        
Gain (loss) excluded from effectiveness testing recognized in earnings based on amortization approach: 1 $ 0 3 $ 0
Designated as Hedging Instruments | Net Investment Hedging | Cross Currency Interest Rate Contract        
Derivative [Line Items]        
Fair Value, Asset (Liability), Recurring Basis, Still Held, Unrealized Gain (Loss), OCI $ 10   $ 1