XML 42 R31.htm IDEA: XBRL DOCUMENT v3.8.0.1
Other (Expense) Income, Net (Tables)
9 Months Ended
Apr. 30, 2018
Other (Expense) Income, Net [Abstract]  
Schedule of other (expense) income, net
  Three Months Ended
April 30,
  Nine Months Ended
April 30,
 
  2018  2017  2018  2017 
  (in thousands) 
Foreign currency transaction (losses) gains $(653) $(409) $(1,211) $921 
(Loss) gain on sale of marketable securities  (7)  26   (16)  331 
(Loss) gain on investments  (66)  113   (7)  408 
Other  14   (137)  66   (95)
Total other (expense) income, net $(712) $(407) $(1,168) $1,565