XML 37 R26.htm IDEA: XBRL DOCUMENT v3.6.0.2
Derivative Instruments (Tables)
6 Months Ended
Jan. 31, 2017
Derivative Instruments [Abstract]  
Schedule of derivative instruments on the consolidated statements of income
    Amount of Gain (Loss) Recognized on Derivatives 
    Three Months Ended 
January 31,
  Six Months Ended 
January 31,
 
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 $  $(123) $  $(225)