XML 42 R31.htm IDEA: XBRL DOCUMENT v3.8.0.1
Goodwill and Intangible Assets (Details) - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Jul. 31, 2017
Finite-Lived Intangible Assets [Line Items]      
Amortization of Intangible Assets $ 3,800 $ 1,300  
Amortized intangibles:      
Accumulated amortization (34,787)   $ (30,470)
Net intangibles 73,285   75,938
Covenants not to compete      
Amortized intangibles:      
Gross carrying amount 1,693   1,702
Supply contracts & customer relationships      
Amortized intangibles:      
Gross carrying amount 73,977   75,462
Trade name      
Amortized intangibles:      
Gross carrying amount 23,827   23,859
Licenses and databases      
Amortized intangibles:      
Gross carrying amount $ 8,575   $ 5,385