CONDENSED CONSOLIDATED STATEMENT OF COMPREHENSIVE INCOME (Unaudited) (Parenthetical) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2026 |
Apr. 30, 2025 |
|
| Other comprehensive income (loss), tax, parenthetical disclosures [Abstract] | ||||
| Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification, Tax | $ (1) | $ 1 | $ (2) | $ 1 |
| Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, Tax | 2 | 1 | 4 | 1 |
| Other Comprehensive Income (Loss), Foreign Currency Translation Adjustment, Tax | (2) | 0 | 2 | 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 | $ (3) | $ 0 |