XML 69 R59.htm IDEA: XBRL DOCUMENT v3.25.2
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 9 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2025
Jul. 31, 2024
Derivative Instruments, Gain (Loss) [Line Items]        
Unrealized gains (losses) arising during the period $ 59 $ (36) $ (301) $ (47)
Cash flow hedges:        
Derivative Instruments, Gain (Loss) [Line Items]        
Unrealized gains (losses) arising during the period 59 (36) (301) (47)
Foreign currency contracts | Cash flow hedges:        
Derivative Instruments, Gain (Loss) [Line Items]        
Unrealized gains (losses) arising during the period 59 (33) (304) (44)
Interest rate contracts | Cash flow hedges:        
Derivative Instruments, Gain (Loss) [Line Items]        
Unrealized gains (losses) arising during the period $ 0 $ (3) $ 3 $ (3)