| **SUPPLY CHAIN FINANCING PROGRAM**   | 9 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|--------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
||
| **Payables and Accruals [Abstract]** |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| SUPPLY CHAIN FINANCING PROGRAM       | SUPPLY CHAIN FINANCING PROGRAMThe Company has arranged for a global financial institution to offer a voluntary supply chain finance (SCF) program for the benefit of the Company’s suppliers. The Company’s current payment terms do not exceed 120 days in keeping with industry standards. The SCF program enables suppliers to directly contract with the financial institution to receive payment from the financial institution prior to the payment terms between the Company and the supplier by selling the Company’s payables to the financial institution. Participation in the program is at the sole discretion of the supplier and the Company has no economic interest in a supplier's decision to enter into the agreement and has no direct financial relationship with the financial institution, as it relates to the SCF program. Once a supplier elects to participate in the SCF program and reaches an agreement with the financial institution, the supplier elects which individual Company invoices to sell to the financial institution. The terms of the Company’s payment obligations are not impacted by a supplier’s participation in the program and as such, the SCF program has no direct impact on the Company’s balance sheets, cash flows or liquidity. The Company has not pledged any assets as security or provided guarantees under the SCF program.All outstanding amounts related to suppliers participating in the SCF program are recorded within Accounts payable and accrued liabilities in the condensed consolidated balance sheets and the associated payments are included in operating activities within the condensed consolidated statements of cash flows. As of March 31, 2024 and June 30, 2023, the amount due to suppliers participating in the SCF program and included in Accounts payable and accrued liabilities was $208 and $220, respectively. |

| X                                                                                                                                                                                                     |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - References
No definition available.
+ Details**Name:**us-gaap_PayablesAndAccrualsAbstract**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
The entire disclosure for supplier finance program.
+ References
Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 405 -SubTopic 50 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479468/405-50-50-3Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 405 -SubTopic 50 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479468/405-50-50-3Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 405 -SubTopic 50 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479468/405-50-50-3Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 405 -SubTopic 50 -Name Accounting Standards Codification -Section 55 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147477128/405-50-55-3
+ Details**Name:**us-gaap_SupplierFinanceProgramTextBlock**Namespace Prefix:**us-gaap_**Data Type:**dtr-types:textBlockItemType**Balance Type:**na**Period Type:**duration |