v3.25.2
Financial Instruments - Pre-tax Effect of Derivative Instruments in Hedging Relationships on OCI (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]        
Cash flow hedge, gain (loss), before reclassification and tax, foreign exchange contracts $ 6 $ (34) $ (189) $ (69)
Total (6) (2) (222) (56)
Expected amount of AOCI expected to be reclassified in the next 12 months 63   63  
Foreign currency contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Cash flow hedge, gain (loss), before reclassification and tax, foreign exchange contracts 6 (34) (189) (69)
Investment hedge, gain (loss), before reclassification and tax, foreign exchange contracts $ (12) $ 32 $ (33) $ 13