v3.26.1
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