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 [Line Items]        
Unrealized gain (loss) on derivatives Reclassification, before Tax $ 0 $ 2 $ (2) $ 5
Amounts reclassified into earnings related to derivative instruments, tax 0 (1) 1 (2)
Unrealized gain (loss) on derivatives after reclassification and after Tax 0 1 (1) 3
Actuarial Gain (Loss), Reclassification Adjustment from AOCI, before Tax 8 6 15 6
Actuarial net gain (loss) and prior service benefit reclassified, before tax 8 6 15 6
Tax on actuarial net loss and prior service benefit reclassified (3) (2) (4) (2)
Actuarial net loss and prior service benefit reclassified, net of tax 5 4 11 4
Reclassification from Accumulated Other Comprehensive Income, Current Period, Net of Tax 5 5 10 7
Cost of Products and Services        
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]        
Unrealized gain (loss) on derivatives Reclassification, before Tax 0 3 (1) 6
Interest Expense        
Reclassification Adjustment out of Accumulated Other Comprehensive Income [Line Items]        
Unrealized gain (loss) on derivatives Reclassification, before Tax $ 0 $ (1) $ (1) $ (1)