|**NET EARNINGS (LOSSES) PER SHARE (EPS) (Tables)**                                | 9 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 EndedNine Months Ended3/31/20233/31/20223/31/20233/31/2022Basic123,649123,177123,512123,074Dilutive effect of stock options and other—700—869Diluted123,649123,877123,512123,943Antidilutive stock options and other4,9532,4894,9532,489
|                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                         
|                                                                                  | Three Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                      
|                                                                                  | 3/31/2023                                                                                                                                                                                                                                                                                                                                                                                                                               
|Basic                                                                             | 123,649                                                                                                                                                                                                                                                                                                                                                                                                                                 
|Dilutive effect of stock options and other                                        | —                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Diluted                                                                           | 123,649                                                                                                                                                                                                                                                                                                                                                                                                                                 
|                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                         
|Antidilutive stock options and other                                              | 4,953                                                                                                                                                                                                                                                                                                                                                                                                                                   

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 -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257
+ Details**Name:**
us-gaap_ScheduleOfWeightedAverageNumberOfSharesTableTextBlock**Namespace Prefix:**
us-gaap_**Data Type:**
dtr-types:textBlockItemType**Balance Type:**
na**Period Type:**
duration