|**VALUATION AND QUALIFYING ACCOUNTS AND RESERVES**                    | 12 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|--------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|**SEC Schedule, 12-09, Valuation and Qualifying Accounts [Abstract]** |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|VALUATION AND QUALIFYING ACCOUNTS AND RESERVES                        | Column AColumn BColumn CColumn DColumn EAdditionsDeductionsDescriptionBalance atbeginningof periodCharged tocosts andexpensesCharged to other accountsBalance atendof periodAllowance for doubtful accountsYear ended June 30, 2018$(3)$(4)$—$—$(7)Year ended June 30, 2017(5)——2(3)Year ended June 30, 2016(4)(1)——(5)LIFO allowancesYear ended June 30, 2018$(26)$(1)$—$—$(27)Year ended June 30, 2017(32)——6(26)Year ended June 30, 2016(34)(1)—3(32)Valuation allowance on deferred tax assetsYear ended June 30, 2018$(40)$(3)$—$—$(43)Year ended June 30, 2017(37)(3)——(40)Year ended June 30, 2016(34)(5)—2(37)
|                                                                     
|                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Column A                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Description                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Allowance for doubtful accounts                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Year ended June 30, 2018                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Year ended June 30, 2017                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Year ended June 30, 2016                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|LIFO allowances                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Year ended June 30, 2018                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Year ended June 30, 2017                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Year ended June 30, 2016                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Valuation allowance on deferred tax assets                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Year ended June 30, 2018                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Year ended June 30, 2017                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|Year ended June 30, 2016                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

X- DefinitionThe entire disclosure for valuation and qualifying accounts and reserves.
+ ReferencesReference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 12 -Subsection 09Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e24092-122690
+ Details**Name:**
srt_ScheduleOfValuationAndQualifyingAccountsDisclosureTextBlock**Namespace Prefix:**
srt_**Data Type:**
nonnum:textBlockItemType**Balance Type:**
na**Period Type:**
duration X- ReferencesNo definition available.
+ Details**Name:**
srt_ValuationAndQualifyingAccountsAbstract**Namespace Prefix:**
srt_**Data Type:**
xbrli:stringItemType**Balance Type:**
na**Period Type:**
duration