XML 33 R40.htm IDEA: XBRL DOCUMENT v3.20.1
GOODWILL AND INTANGIBLE ASSETS - Additional Information (Detail) - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2020
Jul. 31, 2019
Finite-Lived Intangible Assets [Line Items]    
Goodwill $ 257,128 $ 257,128
Gross carrying amount 213,250 213,250
Accumulated amortization 64,916 50,732
Intangible assets $ 148,334 162,518
Customer Relationships    
Finite-Lived Intangible Assets [Line Items]    
Estimated useful life 15 years  
Gross carrying amount $ 192,730 192,730
Accumulated amortization 50,381 39,617
Intangible assets $ 142,349 153,113
Trademarks and Trade Names    
Finite-Lived Intangible Assets [Line Items]    
Estimated useful life 3 years  
Gross carrying amount $ 20,520 20,520
Accumulated amortization 14,535 11,115
Intangible assets 5,985 $ 9,405
Direct Marketing    
Finite-Lived Intangible Assets [Line Items]    
Goodwill $ 257,100