|**RESTRUCTURING AND RELATED COSTS (Tables)**        | 9 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
|--------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|**Restructuring and Related Activities [Abstract]** |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|Restructuring and Related Costs                     | The total restructuring and related implementation costs, net associated with the Company’s streamlined operating model as reflected in the condensed consolidated statements of earnings and comprehensive income:Three months endedNine months endedInception to date ended3/31/20243/31/20233/31/20243/31/20233/31/2024Costs of products sold$—$—$—$(1)$(3)Selling and administrative expenses5681120Research and development————(1)Other (income) expense, net:Employee-related costs51553457Total, net$10$21$13$44$73
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|                                                    | Three months ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
|                                                    | 3/31/2024                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|Costs of products sold                              | $                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
|Selling and administrative expenses                 | 5                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
|Research and development                            | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
|Other (income) expense, net:                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|Employee-related costs                              | 5                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|Total, net                                          | $                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
|Schedule of Restructuring Reserve by Type of Cost   | The following table reconciles the accrual for the streamlined operating model’s restructuring and related implementation costs discussed above, which are recorded within Accounts payable and accrued liabilities in the condensed consolidated balance sheets:Employee-Related CostsOtherTotalAccrual Balance as of June 30, 2023$23$5$28Charges5914Cash payments(20)(9)(29)Accrual Balance as of March 31, 2024$8$5$13                                                                                                
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|                                                    | Employee-Related Costs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Accrual Balance as of June 30, 2023                 | $                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
|Charges                                             | 5                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
|Cash payments                                       | (20)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|Accrual Balance as of March 31, 2024                | $                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
|                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

X- ReferencesNo definition available.
+ Details**Name:**
us-gaap_RestructuringAndRelatedActivitiesAbstract**Namespace Prefix:**
us-gaap_**Data Type:**
xbrli:stringItemType**Balance Type:**
na**Period Type:**
duration X- DefinitionTabular disclosure of costs incurred for restructuring including, but not limited to, exit and disposal activities, remediation, implementation, integration, asset impairment, and charges against earnings from the write-down of assets.
+ ReferencesReference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 5.P.3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-1Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB TOPIC 5.P.4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-2
+ Details**Name:**
us-gaap_ScheduleOfRestructuringAndRelatedCostsTextBlock**Namespace Prefix:**
us-gaap_**Data Type:**
dtr-types:textBlockItemType**Balance Type:**
na**Period Type:**
duration X- DefinitionTabular disclosure of an entity's restructuring reserve that occurred during the period associated with the exit from or disposal of business activities or restructurings for each major type of cost. This element may also include a description of any reversal and other adjustment made during the period to the amount of an accrued liability for restructuring activities. This element may be used to encapsulate the roll forward presentations of an entity's restructuring reserve by type of cost and in total, and explanation of changes that occurred in the period.
+ ReferencesReference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-2
+ Details**Name:**
us-gaap_ScheduleOfRestructuringReserveByTypeOfCostTextBlock**Namespace Prefix:**
us-gaap_**Data Type:**
dtr-types:textBlockItemType**Balance Type:**
na**Period Type:**
duration