XML 56 R46.htm IDEA: XBRL DOCUMENT v3.10.0.1
Stock-Based Compensation - Schedule of Stock-Based Compensation Expense and the Resulting Tax Benefits from Continuing Operations (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2018
Jul. 31, 2017
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]        
Stock-based compensation expense $ 55 $ 46 $ 203 $ 169
Income tax benefit (12) (15) (45) (54)
Stock-based compensation expense, net of tax $ 43 $ 31 $ 158 $ 115