XML 76 R64.htm IDEA: XBRL DOCUMENT v3.25.0.1
Financial Instruments - Schedule of Pre-Tax Effect of Derivative Instruments in Cash Flow Hedging Relationships Included in Accumulated Other Comprehensive (Loss) Income (Details) - USD ($)
$ in Millions
3 Months Ended
Jan. 31, 2025
Jan. 31, 2024
Derivative Instruments, Gain (Loss) [Line Items]    
Gain/(loss) recognized in accumulated other comprehensive (loss) income on derivatives $ 332 $ (162)
Cash flow hedges:    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain/(loss) recognized in accumulated other comprehensive (loss) income on derivatives 332 (162)
Foreign currency contracts | Cash flow hedges:    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain/(loss) recognized in accumulated other comprehensive (loss) income on derivatives 324 (162)
Interest rate contracts | Cash flow hedges:    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain/(loss) recognized in accumulated other comprehensive (loss) income on derivatives $ 8 $ 0