Other Income (Expense), Net (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| Other Income and Expenses [Abstract] | ||||
| Gain on divestitures | $ 425,406 | $ 0 | $ 425,406 | $ 0 |
| Interest income | 18,517 | 131,417 | 48,836 | 257,027 |
| Gains (losses) on assets related to deferred compensation plan | 13,885 | 43,417 | 41,471 | 42,949 |
| Foreign currency exchange gains (losses) | 2,707 | 1,221 | (4,662) | 1,106 |
| Loss on sale of strategic investments | 0 | (1,200) | 0 | (3,635) |
| Gain on sale of building | 0 | 0 | 0 | 51,385 |
| Other, net | (850) | (4,312) | 19,550 | (13,771) |
| Total | $ 459,665 | $ 170,543 | $ 530,601 | $ 335,061 |
| X | ||||||||||
- Definition Gain or (loss) on assets related to deferred compensation plan. No definition available.
|
| X | ||||||||||
- Definition Amount before tax of gain (loss) recognized on the sale or disposal of a disposal group. Excludes discontinued operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, before tax, of realized and unrealized gain (loss) from foreign currency transaction. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The net realized gain (loss) on investments sold during the period, not including gains (losses) on securities separately or otherwise categorized as trading, available-for-sale, or held-to-maturity, which, for cash flow reporting, is a component of proceeds from investing activities. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of interest income earned from interest bearing assets classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of income (expense) related to nonoperating activities, classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|