INCOME TAXES (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| Income Tax Disclosure [Abstract] | ||||
| Income before taxes | $ 477 | $ 241 | $ 1,093 | $ 760 |
| Provision for income taxes | $ 80 | $ 50 | $ 66 | $ 143 |
| Effective Income Tax Rate, Percent | 16.70% | 20.80% | 6.00% | 18.80% |
| Net Discrete Expense (Benefit) | $ (12) | $ 74 | ||
| Discrete tax benefit (expense) [Line Items] | 19 | |||
| Tax Adjustments, Settlements, and Unusual Provisions | 97 | |||
| Unrecognized Tax Benefits that Would Impact Effective Tax Rate | $ 21 | 21 | ||
| IEEPA tariff refund claims | 15 | |||
| Effective Income Tax Rate Reconciliation, Other Reconciling Items, Amount | $ 6 | |||
| X | ||||||||||
- Definition Discrete tax benefit (expense) related to the deduction in the U.S. for intangible assets for purposes of determining income or loss under IRC § 951A(c) No definition available.
|
| X | ||||||||||
- Definition IEEPA tariff refund claims No definition available.
|
| X | ||||||||||
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying statutory federal (national) tax rate to pretax income (loss) from continuing operation attributable to other reconciling item. Excludes state and local income tax expense (benefit), federal tax expense (benefit), statutory income tax expense (benefit) outside of country of domicile, tax credit, nondeductible expense, deduction, income tax settlement, income tax contingency, and cross-border tax law. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of other income tax expense (benefit). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase (decrease) to previously recorded tax expense. Includes, but is not limited to, significant settlements of income tax disputes, and unusual tax positions or infrequent actions taken by the entity, including tax assessment reversal, and IRS tax settlement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|