Financial Instruments - Schedule of Pre-tax Effect of Derivative Instruments in Net Investment Hedging Relationships and Pre-tax Effect of Derivative Instruments in Cash Flow Hedging Relationships (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] | ||||
| Foreign exchange contracts | $ 91 | $ 6 | $ 26 | $ (189) |
| Total | 91 | (6) | (23) | (222) |
| Foreign currency contracts | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Foreign exchange contracts | 91 | 6 | 26 | (189) |
| Foreign exchange contracts | $ 0 | $ (12) | $ (49) | $ (33) |
| X | ||||||||||
- Definition Other Comprehensive Income (Loss), Derivative Cash Flow And Net Investment Hedges, Increase (Decrease), Before Adjustments And Tax No definition available.
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount, before tax and reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount, before tax and reclassification, of gain (loss) from derivative designated and qualifying as net investment hedge. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Details
|