SHARE-BASED COMPENSATION Allocated Share-based compensation expense (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2026 |
Apr. 30, 2025 |
|
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs | ||||
| Share-based compensation expense | $ 34 | $ 30 | $ 75 | $ 71 |
| Cost of Products and Services | ||||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs | ||||
| Share-based compensation expense | 10 | 10 | 22 | 22 |
| Research and Development | ||||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs | ||||
| Share-based compensation expense | 4 | 3 | 9 | 8 |
| Selling, General and Administrative | ||||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs | ||||
| Share-based compensation expense | $ 20 | $ 17 | $ 44 | $ 41 |