XML 42 R39.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
GOODWILL AND INTANGIBLE ASSETS - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2019
Jul. 31, 2019
Goodwill [Line Items]    
Goodwill $ 257,128 $ 257,128
Trademarks and Trade Names    
Goodwill [Line Items]    
Intangible assets $ 7,700  
Estimated useful life 3 years  
Customer Relationships    
Goodwill [Line Items]    
Intangible assets $ 147,500  
Estimated useful life 15 years  
Direct Marketing    
Goodwill [Line Items]    
Goodwill $ 257,100