XML 39 R27.htm IDEA: XBRL DOCUMENT v3.5.0.2
Description of Business and Summary of Significant Accounting Policies - Accounting Pronouncements (Details) - USD ($)
$ in Millions
3 Months Ended
Oct. 31, 2016
Oct. 31, 2015
Aug. 01, 2016
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Effective income tax rate reconciliation. share-based compensation, excess tax benefit $ 19    
Net cash used in operating activities 205 $ 188  
Net cash used in financing activities (166) (961)  
Cumulative effect of change in accounting principle 2    
Retained Earnings      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Cumulative effect of change in accounting principle $ (4)    
New Accounting Pronouncement, Early Adoption, Effect | Accounting Standards Update 2016-09      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Net cash used in operating activities   9  
Net cash used in financing activities   $ 9  
Deferred income tax assets, net     $ 2
New Accounting Pronouncement, Early Adoption, Effect | Accounting Standards Update 2016-09 | Additional Paid-in Capital      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Cumulative effect of change in accounting principle     6
New Accounting Pronouncement, Early Adoption, Effect | Accounting Standards Update 2016-09 | Retained Earnings      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Cumulative effect of change in accounting principle     $ (4)