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 |
12 Months Ended | ||
|---|---|---|---|
Oct. 31, 2025 |
Oct. 31, 2024 |
Oct. 31, 2023 |
|
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Gain/(loss) recognized in Accumulated other comprehensive (loss) income on derivatives | $ (211) | $ 51 | $ (427) |
| Foreign currency contracts | Cash flow hedges: | |||
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Gain/(loss) recognized in Accumulated other comprehensive (loss) income on derivatives | (214) | 47 | (427) |
| Interest rate contracts | Cash flow hedges: | |||
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Gain/(loss) recognized in Accumulated other comprehensive (loss) income on derivatives | $ 3 | $ 4 | $ 0 |
| 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/disclosureRef
|
| 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 | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|