XML 46 R40.htm IDEA: XBRL DOCUMENT v3.20.1
GOODWILL AND INTANGIBLE ASSETS - Additional Information (Detail) - USD ($)
9 Months Ended
Apr. 30, 2020
Jul. 31, 2019
Finite-Lived Intangible Assets [Line Items]    
Goodwill $ 257,128,000 $ 257,128,000
Gross carrying amount 213,250,000 213,250,000
Accumulated amortization 71,451,000 50,732,000
Intangible assets $ 141,799,000 162,518,000
Customer Relationships    
Finite-Lived Intangible Assets [Line Items]    
Estimated useful life 15 years  
Gross carrying amount $ 192,730,000 192,730,000
Accumulated amortization 55,206,000 39,617,000
Intangible assets $ 137,524,000 153,113,000
Trademarks and Trade Names    
Finite-Lived Intangible Assets [Line Items]    
Estimated useful life 3 years  
Gross carrying amount $ 20,520,000 20,520,000
Accumulated amortization 16,245,000 11,115,000
Intangible assets 4,275,000 $ 9,405,000
Direct Marketing    
Finite-Lived Intangible Assets [Line Items]    
Goodwill 257,100,000  
Reporting unit, amount of fair value in excess of carrying amount 30,000,000  
Goodwill impairment $ 0