XML 57 R46.htm IDEA: XBRL DOCUMENT v3.5.0.2
SHARE-BASED COMPENSATION Allocated Share-based compensation expense (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended 12 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Jul. 31, 2016
Jul. 31, 2015
Oct. 31, 2015
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]          
Share-based compensation expense $ 11 $ 10 $ 48 $ 44  
Inventory          
Share-based Compensation, Allocation and Classification in Financial Statements          
Capitalized share-based compensation     0   $ 0
Cost of Products and Services          
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]          
Share-based compensation expense 2 2 11 9  
Research and Development Expense          
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]          
Share-based compensation expense 1 1 4 4  
Selling, General and Administrative Expenses          
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]          
Share-based compensation expense $ 8 $ 7 $ 33 $ 31