XML 27 R44.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Balance Sheet Components - Inventories (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Mar. 31, 2019
Mar. 31, 2018
Jun. 30, 2018
Inventory, Net [Abstract]          
Finished goods $ 525,344   $ 525,344   $ 633,348
Work in process 84,293   84,293   61,162
Purchased parts and raw materials 151,476   151,476   158,742
Total inventories 761,113   761,113   $ 853,252
Provision for lower of cost or market and excess and obsolete inventory 4,700 $ 1,900 17,300 $ 6,200  
Provision for adjusting cost to net realizable value $ 5,700   $ 7,300