| EMPLOYEE BENEFIT PLANS - Weighted Average Assumptions (Details) | Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2021 | 
|---|---|---|---|
| Minimum | |||
| Defined Benefit Plan Disclosure | |||
| Discount rate | 0.90% | 0.90% | 0.50% | 
| Expected rate of return on assets | 0.90% | 0.90% | 0.60% | 
| Rate of compensation increases | 3.00% | 2.30% | 2.30% | 
| Maximum | |||
| Defined Benefit Plan Disclosure | |||
| Discount rate | 3.00% | 3.00% | 1.70% | 
| Expected rate of return on assets | 2.60% | 3.00% | 2.90% | 
| Rate of compensation increases | 5.00% | 5.00% | 5.00% | 
| X | ||||||||||
| 
- Definition Defined Benefit Plan, Assumptions Used Calculating Benefit Obligation, Expected Rate Of Return On Assets No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted average rate for present value of future retirement benefits cash flows, used to determine benefit obligation of defined benefit plan. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Weighted average rate increase of compensation, used to determine benefit obligation of defined benefit plan. Plan includes, but is not limited to, pay-related defined benefit plan. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |