v3.26.1
DERIVATIVES, Effect of derivative instruments on Consolidated Statement of Operations (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
Derivative [Line Items]        
Cash Flow Hedge Gain (Loss) to be Reclassified within Twelve Months     $ 13  
Income Statement Location [Axis]: us-gaap:OtherNonoperatingIncomeExpense        
Derivative [Line Items]        
Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net $ (3) $ 127 7 $ 55
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 0 (2) 7 (3)
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: 4 2 8 4
Gain (loss) excluded from effectiveness testing recognized in earnings based on amortization approach: 1 1 2 2
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: 2 2 5 5
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: 2 0 3 0
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:InterestExpenseOperating        
Derivative [Line Items]        
Gain (loss) excluded from effectiveness testing recognized in earnings based on amortization approach: 2 $ 0 2 $ 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 $ 9   $ (9)