XML 37 R26.htm IDEA: XBRL DOCUMENT v3.7.0.1
Derivative Instruments (Tables)
9 Months Ended
Apr. 30, 2017
Derivative Instruments [Abstract]  
Schedule of derivative instruments on the consolidated statements of operations
  Amount of Gain (Loss) Recognized on Derivatives 
  

Three Months Ended
April 30,

  

Nine Months Ended 
April 30,

 
Derivatives not designated or not qualifying as hedging instruments Location of Gain (Loss) Recognized on Derivatives 2017  2016  2017  2016 
    (in thousands) 
Foreign exchange forwards Other (expense) income, net $  $156  $  $(68)