XML 50 R52.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
SHARE-BASED COMPENSATION (Allocation of period costs) (Details) - USD ($)
$ in Millions
3 Months Ended
Jan. 31, 2020
Jan. 31, 2019
Share-based Compensation Expense, Allocation of Recognized Period Costs [Line Items]    
Share-based Compensation Expense $ 39 $ 27
Cost of products and services    
Share-based Compensation Expense, Allocation of Recognized Period Costs [Line Items]    
Share-based Compensation Expense 5 4
Research and development    
Share-based Compensation Expense, Allocation of Recognized Period Costs [Line Items]    
Share-based Compensation Expense 8 6
Selling, general and administrative    
Share-based Compensation Expense, Allocation of Recognized Period Costs [Line Items]    
Share-based Compensation Expense $ 26 $ 17