XML 59 R49.htm IDEA: XBRL DOCUMENT v3.7.0.1
Derivatives (Details) - Foreign currency forward contracts - Designated as hedging instrument - Fair value hedge instruments
3 Months Ended 9 Months Ended
Apr. 30, 2017
USD ($)
contract
Apr. 30, 2016
USD ($)
Apr. 30, 2017
USD ($)
contract
Apr. 30, 2016
USD ($)
Derivatives        
Term of contracts     1 month  
Number of contracts | contract 8   8  
Notional value of contracts $ 14,534,000   $ 14,534,000  
Term of renewed contracts     1 month  
Net currency conversion losses, net of tax $ 121,000 $ 53,000 $ 342,000 $ 359,000