XML 43 R32.htm IDEA: XBRL DOCUMENT v3.8.0.1
Goodwill and Intangible Assets (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Apr. 30, 2018
Apr. 30, 2017
Jul. 31, 2017
Finite-Lived Intangible Assets [Line Items]          
Amortization of Intangible Assets $ 3,600 $ 1,400 $ 10,900 $ 4,000  
Amortized intangibles:          
Accumulated amortization (42,174)   (42,174)   $ (30,470)
Net intangibles 69,382   69,382   75,938
Covenants not to compete          
Amortized intangibles:          
Gross carrying amount 1,679   1,679   1,702
Supply contracts & customer relationships          
Amortized intangibles:          
Gross carrying amount 76,162   76,162   75,462
Trade name          
Amortized intangibles:          
Gross carrying amount 24,257   24,257   23,859
Licenses and databases          
Amortized intangibles:          
Gross carrying amount $ 9,458   $ 9,458   $ 5,385