XML 63 R49.htm IDEA: XBRL DOCUMENT v3.10.0.1
Acquisitions (Details Textuals)
$ in Thousands
12 Months Ended
Jul. 31, 2018
USD ($)
business
Jul. 31, 2017
USD ($)
business
Jul. 31, 2016
USD ($)
business
Business Acquisition [Line Items]      
Number of Businesses Acquired | business 1 2 0
Business Combination, Separately Recognized Transactions, Additional Disclosures, Acquisition Cost Expensed   $ 1,900 $ 0
Goodwill $ 337,235 340,243 $ 260,198
Intangibles, net $ 64,892 $ 75,938  
Covenants not to compete      
Business Acquisition [Line Items]      
Useful life of intangible assets 0 years 1 year  
Intangibles, net $ 10 $ 313  
Licenses and databases      
Business Acquisition [Line Items]      
Useful life of intangible assets 2 years 3 years  
Intangibles, net $ 4,928 $ 3,541  
Acquisitions 2018 [Domain]      
Business Acquisition [Line Items]      
Business Acquisition, Percentage of Voting Interests Acquired 100.00%    
Total purchase price $ 8,900    
Acquisitions 2017 [Domain]      
Business Acquisition [Line Items]      
Business Acquisition, Percentage of Voting Interests Acquired   100.00%  
Total purchase price   $ 160,700  
Accounts receivable and prepaid expenses   6,583  
Vehicle pooling costs   571  
Property and equipment   10,903  
Inventory   1,067  
Intangible assets   72,100  
Liabilities assumed   (8,025)  
Noncontrolling interest   (500)  
Fair value of net assets and liabilities acquired   $ 160,689  
Increase (decrease) in goodwill during the period 1,300    
Indefinite-lived Intangible Assets Acquired $ 1,200    
Acquisitions 2017 [Domain] | Supply contracts | Minimum      
Business Acquisition [Line Items]      
Useful life of intangible assets 3 years    
Acquisitions 2017 [Domain] | Supply contracts | Maximum      
Business Acquisition [Line Items]      
Useful life of intangible assets 11 years    
Acquisitions 2017 [Domain] | Customer relationships | Minimum      
Business Acquisition [Line Items]      
Useful life of intangible assets 3 years    
Acquisitions 2017 [Domain] | Customer relationships | Maximum      
Business Acquisition [Line Items]      
Useful life of intangible assets 11 years    
Acquisitions 2017 [Domain] | Trade name | Minimum      
Business Acquisition [Line Items]      
Useful life of intangible assets 3 years    
Acquisitions 2017 [Domain] | Trade name | Maximum      
Business Acquisition [Line Items]      
Useful life of intangible assets 11 years    
Acquisitions 2017 [Domain] | Licenses and databases | Minimum      
Business Acquisition [Line Items]      
Useful life of intangible assets 3 years    
Acquisitions 2017 [Domain] | Licenses and databases | Maximum      
Business Acquisition [Line Items]      
Useful life of intangible assets 11 years    
Office Equipment [Member] | Minimum      
Business Acquisition [Line Items]      
Property, Plant and Equipment, Useful Life 3 years    
Office Equipment [Member] | Maximum      
Business Acquisition [Line Items]      
Property, Plant and Equipment, Useful Life 5 years    
Building and Building Improvements [Member] | Minimum      
Business Acquisition [Line Items]      
Property, Plant and Equipment, Useful Life 5 years    
Building and Building Improvements [Member] | Maximum      
Business Acquisition [Line Items]      
Property, Plant and Equipment, Useful Life 40 years    
Leasehold Improvements [Member] | Minimum      
Business Acquisition [Line Items]      
Property, Plant and Equipment, Useful Life 5 years    
Leasehold Improvements [Member] | Maximum      
Business Acquisition [Line Items]      
Property, Plant and Equipment, Useful Life 10 years    
Software and Software Development Costs [Member] | Minimum      
Business Acquisition [Line Items]      
Property, Plant and Equipment, Useful Life 3 years    
Software and Software Development Costs [Member] | Maximum      
Business Acquisition [Line Items]      
Property, Plant and Equipment, Useful Life 7 years    
Transportation Equipment [Member] | Minimum      
Business Acquisition [Line Items]      
Property, Plant and Equipment, Useful Life 3 years    
Transportation Equipment [Member] | Maximum      
Business Acquisition [Line Items]      
Property, Plant and Equipment, Useful Life 20 years