XML 89 R62.htm IDEA: XBRL DOCUMENT v3.19.2
Stockholders' Equity - Additional Information (Details)
$ / shares in Units, $ in Millions
1 Months Ended 12 Months Ended
Jul. 31, 2019
USD ($)
shares
Jul. 31, 2019
USD ($)
Period_of_time
$ / shares
shares
Jul. 31, 2018
USD ($)
shares
Jul. 31, 2017
USD ($)
shares
Aug. 30, 2019
$ / shares
Jul. 31, 2016
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Stock repurchased during period (in shares) | $ $ 5 $ 561 $ 272 $ 839    
Common stock dividends, cash paid (in dollars per share) | $ / shares   $ 1.88        
Dividends and dividend rights paid | $   $ 501 $ 407 $ 353    
Common stock, shares authorized (in shares) 750,000,000 750,000,000 750,000,000      
Pool shares reduced for each share granted (in shares)   2.3        
Pool shares increased for each share forfeited (in shares)   2.3        
Shares available for grant (in shares) 21,058,000 21,058,000 22,791,000 25,164,000   8,990,000
Stock offering period, months, employee stock purchase plans   6 months        
Stock accrual period, employee stock purchase plans, number of accrual periods | Period_of_time   2        
Stock offering period, number of months in accrual period   3 months        
Percentage of lower of the closing price for stock on the first day last day of the offering period   85.00%        
Shares issued during period for Employee Stock Purchase Plans (in shares)   485,011 612,768 752,605    
Shares available for issuance under Employee Stock Purchase Plan (in shares) 1,906,183 1,906,183        
Stock Options            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Shares available for grant (in shares) 21,100,000 21,100,000        
Number of years until options vest   7 years        
Stock Options | Minimum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award vesting period (in years)   3 years        
Stock Options | Maximum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award vesting period (in years)   4 years        
Employee Stock            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Common stock, shares authorized (in shares) 23,800,000 23,800,000        
Restricted Stock Units (RSUs) | Minimum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award vesting period (in years)   3 years        
Restricted Stock Units (RSUs) | Maximum            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Award vesting period (in years)   4 years        
Restated 2005 Plan            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Common stock, shares authorized (in shares) 138,100,000 138,100,000        
Restated 2005 Plan | Stock Options            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Pool shares reduced for each share granted (in shares)   1        
Number of shares added back to plan when grants are forfeited (in shares)   1        
Subsequent Event            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Dividend per share payable (in dollars per share) | $ / shares         $ 0.53  
Current Program            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Stock repurchase program remaining authorized repurchase amount | $ $ 2,700 $ 2,700        
Common Stock            
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]            
Stock repurchases under stock repurchase programs (in shares)   2,455,000 1,870,000 6,900,000