XML 64 R51.htm IDEA: XBRL DOCUMENT v3.23.2
Summary of Significant Accounting Policies - Narrative (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Summary Of Significant Accounting Policies [Line Items]      
Goodwill $ 3,559 $ 3,554 $ 3,435
Advertising expense $ 680 $ 708 $ 558
One Customer | Customer Concentration Risk | Receivables      
Summary Of Significant Accounting Policies [Line Items]      
Concentration risk, percentage 11.00%    
Minimum | Buildings And Leaseholds      
Summary Of Significant Accounting Policies [Line Items]      
Property, plant and equipment, useful life 3 years    
Minimum | Machinery And Equipment      
Summary Of Significant Accounting Policies [Line Items]      
Property, plant and equipment, useful life 3 years    
Maximum      
Summary Of Significant Accounting Policies [Line Items]      
Finite-lived intangible asset, useful life 10 years    
Maximum | Buildings And Leaseholds      
Summary Of Significant Accounting Policies [Line Items]      
Property, plant and equipment, useful life 40 years    
Maximum | Machinery And Equipment      
Summary Of Significant Accounting Policies [Line Items]      
Property, plant and equipment, useful life 10 years