v3.26.1
STOCKHOLDERS' EQUITY - Reclassifications out of accumulated comprehensive income (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, Tax $ (2) $ (1) $ (4) $ (1)
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, after Tax 6 3 12 8
Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), Reclassification Adjustment from AOCI, before Tax 1 (2) 1 (2)
Other Comprehensive Income (Loss), Defined Benefit Plan, Gain (Loss), Reclassification Adjustment from AOCI, Tax (1) 0 (1) 0
Change in net actuarial loss and prior service cost associated with defined benefit plan, net of tax benefit (expense) of $1, zero, $(3) and zero 0 2 0 2
Reclassification from Accumulated Other Comprehensive Income, Current Period, Net of Tax 6 1 12 6
Income Statement Location [Axis]: us-gaap:CostOfGoodsAndServicesSold        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax 4 2 8 4
Income Statement Location [Axis]: us-gaap:InterestExpenseNonoperating        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax 2 2 5 5
Income Statement Location [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax $ 2 $ 0 $ 3 $ 0