XML 62 R39.htm IDEA: XBRL DOCUMENT v3.10.0.1
Income Taxes (Details) - USD ($)
$ in Millions
3 Months Ended 12 Months Ended
Oct. 31, 2018
Oct. 31, 2017
Jul. 31, 2019
Jul. 31, 2018
Income Tax [Line Items]        
Federal statutory income tax rate 21.00%     26.90%
Share-based compensation, excess tax benefit, amount $ 41 $ 25    
Income tax benefit 48 35    
Pretax loss $ 14 $ 37    
Effective income tax rate reconciliation, excluding discrete tax benefits, percent 23.00% 33.00%    
Effective income tax rate   95.00%    
Total amount of unrecognized tax benefits       $ 90
Unrecognized tax benefits, net of related deferred tax assets       57
Favorable net impact to income tax expense due to recognition of tax benefits       $ 57
Changes in unrecognized tax benefits $ 0      
Forecast        
Income Tax [Line Items]        
Federal statutory income tax rate     21.00%