XML 31 R58.htm IDEA: XBRL DOCUMENT v3.19.3
GOODWILL AND INTANGIBLE ASSETS - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Goodwill [Line Items]    
Goodwill $ 257,128 $ 254,352
Intangible assets, carrying value 162,518  
Customer Relationships    
Goodwill [Line Items]    
Intangible assets, gross 192,700  
Intangible assets, carrying value $ 153,100  
Estimated useful life (years) 15 years  
Trademarks and Trade Names    
Goodwill [Line Items]    
Intangible assets, gross $ 20,500  
Intangible assets, carrying value $ 9,400  
Estimated useful life (years) 3 years  
Direct Marketing    
Goodwill [Line Items]    
Goodwill $ 257,100  
Reporting unit, percentage of fair value in excess of carrying amount 25.00%