|**NET EARNINGS PER SHARE (EPS) (Tables)**                                         | 6 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                 
|--------------------------------------------------------------------------------- | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|**Earnings Per Share [Abstract]**                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                
|Schedule of Weighted Average Number of Shares Outstanding and Antidilutive Shares | The following is the reconciliation of the weighted average number of shares outstanding (in thousands) used to calculate basic net EPS to those used to calculate diluted net EPS:Three months endedSix months ended12/31/202312/31/202212/31/202312/31/2022Basic124,176123,546124,075123,443Dilutive effect of stock options and other444442560508Diluted124,620123,988124,635123,951Antidilutive stock options and other3,5272,9423,5272,963
|                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                
|                                                                                  | Three months ended                                                                                                                                                                                                                                                                                                                                                                                                                             
|                                                                                  | 12/31/2023                                                                                                                                                                                                                                                                                                                                                                                                                                     
|Basic                                                                             | 124,176                                                                                                                                                                                                                                                                                                                                                                                                                                        
|Dilutive effect of stock options and other                                        | 444                                                                                                                                                                                                                                                                                                                                                                                                                                            
|Diluted                                                                           | 124,620                                                                                                                                                                                                                                                                                                                                                                                                                                        
|                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                
|Antidilutive stock options and other                                              | 3,527                                                                                                                                                                                                                                                                                                                                                                                                                                          

X- ReferencesNo definition available.
+ Details**Name:**
us-gaap_EarningsPerShareAbstract**Namespace Prefix:**
us-gaap_**Data Type:**
xbrli:stringItemType**Balance Type:**
na**Period Type:**
duration X- DefinitionTabular disclosure of the weighted average number of shares used in calculating basic net earnings per share (or unit) and diluted earnings per share (or unit).
+ ReferencesReference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482662/260-10-50-1
+ Details**Name:**
us-gaap_ScheduleOfWeightedAverageNumberOfSharesTableTextBlock**Namespace Prefix:**
us-gaap_**Data Type:**
dtr-types:textBlockItemType**Balance Type:**
na**Period Type:**
duration