Quarterly report pursuant to Section 13 or 15(d)

Derivative Instruments and Hedging Activities - Schedule of Derivative Instruments (Details)

v3.8.0.1
Derivative Instruments and Hedging Activities - Schedule of Derivative Instruments (Details) - USD ($)
$ in Thousands
Mar. 31, 2018
Jun. 30, 2017
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value $ 2,318 $ 5,931
Liability derivatives fair value 4,577 1,275
Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Asset derivatives fair value 2,318 5,931
Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Liability derivatives fair value 4,577 1,275
Derivatives Designated as Hedging Instruments | Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current assets 1,169 2,198
Asset derivatives fair value 1,169 2,198
Derivatives Designated as Hedging Instruments | Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current liabilities 905 72
Liability derivatives fair value 905 72
Derivatives Not Designated as Hedging Instruments | Other current assets    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current assets 1,149 3,733
Asset derivatives fair value 1,149 3,733
Derivatives Not Designated as Hedging Instruments | Other current liabilities    
Derivative Assets and Liabilities, at Fair Value, Net, by Balance Sheet Classification    
Foreign exchange contracts, other current liabilities 3,672 1,203
Liability derivatives fair value $ 3,672 $ 1,203