v3.26.1
Financial Instruments - Schedule of Pre-Tax Effect of Derivative Instruments Not Designated as Hedging Instruments Recognized in Interest and Other, Net in the Consolidated Condensed Statements of Earnings (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2026
Jul. 31, 2025
Derivative Instruments, Gain (Loss) [Line Items]        
Gain/(loss) recognized in earnings on derivative instrument $ (43) $ 4 $ (42) $ (5)
Income Statement Location [Axis]: us-gaap:NonoperatingIncomeExpense | Foreign currency contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain/(loss) recognized in earnings on derivative instrument (32) 7 (39) (7)
Income Statement Location [Axis]: us-gaap:NonoperatingIncomeExpense | Other derivatives        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain/(loss) recognized in earnings on derivative instrument $ (11) $ (3) $ (3) $ 2