XML 66 R51.htm IDEA: XBRL DOCUMENT v3.10.0.1
Accounting Policies - Additional Information (Detail) - USD ($)
$ in Millions
12 Months Ended
Apr. 01, 2018
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2016
Jul. 01, 2018
Jul. 01, 2016
Significant Accounting Policies [Line Items]            
Current and long-term accounts receivable, net of allowance for doubtful accounts           $ 22,300
Long-term accounts receivable, net of allowance for doubtful accounts   $ 1,800 $ 1,700      
Description of payment terms in contract with customer   Payment terms and conditions vary by contract type, although terms generally include a requirement of payment within 30 to 60 days.        
Advertising expense   $ 1,600 1,500 $ 1,600    
Retained earnings   13,682 17,769      
Long-term deferred tax liabilities   541 5,734      
Other current assets   $ 6,751 $ 5,103      
Accounting Standards Update 2018-02            
Significant Accounting Policies [Line Items]            
Reclassification of net tax benefit from AOCI to retained earnings $ 42          
Accounting Standards Update 2016-16 | Scenario Plan            
Significant Accounting Policies [Line Items]            
Retained earnings         $ 550  
Long-term deferred tax assets         2,800  
Long-term deferred tax liabilities         2,100  
Other current assets         $ (150)  
Lower Limit            
Significant Accounting Policies [Line Items]            
Estimated useful lives of intangible assets   1 year        
Lower Limit | Software            
Significant Accounting Policies [Line Items]            
Estimated useful lives   3 years        
Lower Limit | Computer Equipment            
Significant Accounting Policies [Line Items]            
Estimated useful lives   2 years        
Lower Limit | Buildings and Improvements            
Significant Accounting Policies [Line Items]            
Estimated useful lives   5 years        
Lower Limit | Leasehold Improvements            
Significant Accounting Policies [Line Items]            
Estimated useful lives   3 years        
Lower Limit | Furniture and Fixtures            
Significant Accounting Policies [Line Items]            
Estimated useful lives   1 year        
Upper Limit            
Significant Accounting Policies [Line Items]            
Estimated useful lives of intangible assets   20 years        
Upper Limit | Software            
Significant Accounting Policies [Line Items]            
Estimated useful lives   7 years        
Upper Limit | Computer Equipment            
Significant Accounting Policies [Line Items]            
Estimated useful lives   3 years        
Upper Limit | Buildings and Improvements            
Significant Accounting Policies [Line Items]            
Estimated useful lives   15 years        
Upper Limit | Leasehold Improvements            
Significant Accounting Policies [Line Items]            
Estimated useful lives   20 years        
Upper Limit | Furniture and Fixtures            
Significant Accounting Policies [Line Items]            
Estimated useful lives   10 years