XML 103 R76.htm IDEA: XBRL DOCUMENT v3.5.0.2
Derivatives - Summary of Gains and Losses from Derivative Instruments that are Not Designated as Hedging Instruments (Detail) - Foreign Exchange Contracts [Member] - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2016
Jun. 30, 2015
Jun. 30, 2014
Cost of Sales [Member]      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Gains and losses from derivative instruments that are not designated as hedging instruments $ 2,610 $ 20,053 $ (5,536)
Foreign Exchange Losses (Gains), Net [Member]      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Gains and losses from derivative instruments that are not designated as hedging instruments (1,782) $ (35,104) $ 10,882
Selling, General and Administrative Expense [Member]      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Gains and losses from derivative instruments that are not designated as hedging instruments $ (412)