XML 56 R46.htm IDEA: XBRL DOCUMENT v3.7.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 6 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Apr. 30, 2017
Apr. 30, 2016
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]        
Stock-based compensation expense $ 48 $ 40 $ 123 $ 101
Income tax benefit (15) (13) (39) (35)
Stock-based compensation expense, net of tax $ 33 $ 27 $ 84 $ 66