CONDENSED CONSOLIDATED STATEMENT OF COMPREHENSIVE INCOME (Unaudited) (Parenthetical) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2026 |
Jul. 31, 2025 |
|
| Other comprehensive income (loss), tax, parenthetical disclosures [Abstract] | ||||
| Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, Tax | $ 0 | $ 1 | $ (2) | $ 2 |
| Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, Tax | 0 | 1 | 4 | 2 |
| Other Comprehensive Income (Loss), Foreign Currency Translation Adjustment, Tax | (2) | 0 | 0 | 0 |
| Net defined benefit pension cost and post retirement plan costs, tax [Abstract] | ||||
| Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss) Arising During Period, Tax | $ 1 | $ 0 | $ (2) | $ 0 |