Inventories (Details) (USD $)
In Thousands, unless otherwise specified
Jan. 31, 2015
Jul. 31, 2014
Inventories [Abstract]    
Raw materials $ 110,783 $ 112,522
Work in process 28,836 17,256
Finished products 132,388 123,573
Total inventories $ 272,007 $ 253,351