|**NET EARNINGS PER SHARE (EPS) (Tables)**                                         | 3 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 Ended9/30/20189/30/2017Basic127,803129,019Dilutive effect of stock options and other2,1432,490Diluted129,946131,509Antidilutive stock options and other9671,174
|                                                                                 
|                                                                                  |                                                                                                                                                                                                                                                                                                                                                                
|                                                                                  | Three Months Ended                                                                                                                                                                                                                                                                                                                                             
|                                                                                  | 9/30/2018                                                                                                                                                                                                                                                                                                                                                      
|Basic                                                                             | 127,803                                                                                                                                                                                                                                                                                                                                                        
|Dilutive effect of stock options and other                                        | 2,143                                                                                                                                                                                                                                                                                                                                                          
|Diluted                                                                           | 129,946                                                                                                                                                                                                                                                                                                                                                        
|                                                                                  |                                                                                                                                                                                                                                                                                                                                                                
|Antidilutive stock options and other                                              | 967                                                                                                                                                                                                                                                                                                                                                            
|Schedule of Share Repurchases Under Authorized Programs                           | Stock repurchases under the two stock repurchase programs were as follows for the periods indicated:Three Months Ended9/30/20189/30/2017AmountShares (in thousands)AmountShares (in thousands)Open-market purchase program$78591$——Evergreen Program12083260450                                                                                                
|                                                                                 
|                                                                                  |                                                                                                                                                                                                                                                                                                                                                                
|                                                                                  | Three Months Ended                                                                                                                                                                                                                                                                                                                                             
|                                                                                  | 9/30/2018                                                                                                                                                                                                                                                                                                                                                      
|                                                                                  | Amount                                                                                                                                                                                                                                                                                                                                                         
|Open-market purchase program                                                      | $                                                                                                                                                                                                                                                                                                                                                              
|Evergreen Program                                                                 | 120                                                                                                                                                                                                                                                                                                                                                            

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 treasury stock, including, but not limited to, average cost per share, description of share repurchase program, shares repurchased, shares held for each class of treasury stock.
+ ReferencesReference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6405834&loc=d3e23309-112656Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6405834&loc=d3e23285-112656
+ Details**Name:**
us-gaap_ScheduleOfTreasuryStockByClassTextBlock**Namespace Prefix:**
us-gaap_**Data Type:**
nonnum:textBlockItemType**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 http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
+ Details**Name:**
us-gaap_ScheduleOfWeightedAverageNumberOfSharesTableTextBlock**Namespace Prefix:**
us-gaap_**Data Type:**
nonnum:textBlockItemType**Balance Type:**
na**Period Type:**
duration