XML 51 R40.htm IDEA: XBRL DOCUMENT v3.4.0.3
SHARE-BASED COMPENSATION Allocated Share-based compensation expense (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended 12 Months Ended
Apr. 30, 2016
Apr. 30, 2015
Apr. 30, 2016
Apr. 30, 2015
Oct. 31, 2015
Share-based Compensation [Abstract]          
Windfall tax benefit realized $ 0 $ 0  
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]          
Share-based compensation expense $ 14 $ 12 37 34  
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 3 2 9 7  
Research and Development Expense          
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]          
Share-based compensation expense 1 1 3 3  
Selling, General and Administrative Expenses          
Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]          
Share-based compensation expense $ 10 $ 9 $ 25 $ 24