| **RESTRUCTURING AND RELATED COSTS (Accrual Reconciliation) (Details) $ in Millions** | 9 Months Ended |
|--------------------------------------------------------------------------------------|----------------|
||
| **Restructuring Reserve [Roll Forward]**                                             |           |
| Accrual Balance as of June 30, 2023                                                  | $ 28           |
| Charges                                                                              | 14             |
| Cash payments                                                                        | (29)           |
| Accrual Balance as of March 31, 2024                                                 | 13             |
| Employee-Related Costs                                                               |           |
| **Restructuring Reserve [Roll Forward]**                                             |           |
| Accrual Balance as of June 30, 2023                                                  | 23             |
| Charges                                                                              | 5              |
| Cash payments                                                                        | (20)           |
| Accrual Balance as of March 31, 2024                                                 | 8              |
| Other                                                                                |           |
| **Restructuring Reserve [Roll Forward]**                                             |           |
| Accrual Balance as of June 30, 2023                                                  | 5              |
| Charges                                                                              | 9              |
| Cash payments                                                                        | (9)            |
| Accrual Balance as of March 31, 2024                                                 | $ 5            |

| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of cash payments made as the result of exit or disposal activities. Excludes payments associated with a discontinued operation or an asset retirement obligation.
+ References
Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 17 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-17
+ Details**Name:**us-gaap_PaymentsForRestructuring**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation.
+ References
Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-2Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482047/420-10-45-3Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.P.3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-1
+ Details**Name:**us-gaap_RestructuringCharges**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan.
+ References
Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -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_RestructuringReserve**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                             |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.
+ References
No definition available.
+ Details**Name:**us-gaap_RestructuringReserveRollForward**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                               |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_RestructuringCostAndReserveAxis=us-gaap_EmployeeSeveranceMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_RestructuringCostAndReserveAxis=us-gaap_OtherRestructuringMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |