XML 42 R31.htm IDEA: XBRL DOCUMENT v3.8.0.1
Goodwill and Intangible Assets (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2018
Jan. 31, 2017
Jan. 31, 2018
Jan. 31, 2017
Jul. 31, 2017
Finite-Lived Intangible Assets [Line Items]          
Amortization of Intangible Assets $ 3,500 $ 1,300 $ 7,400 $ 2,600  
Amortized intangibles:          
Accumulated amortization (39,251)   (39,251)   $ (30,470)
Net intangibles 69,934   69,934   75,938
Covenants not to compete          
Amortized intangibles:          
Gross carrying amount 1,698   1,698   1,702
Supply contracts & customer relationships          
Amortized intangibles:          
Gross carrying amount 74,901   74,901   75,462
Trade name          
Amortized intangibles:          
Gross carrying amount 23,970   23,970   23,859
Licenses and databases          
Amortized intangibles:          
Gross carrying amount $ 8,616   $ 8,616   $ 5,385