XML 51 R39.htm IDEA: XBRL DOCUMENT v3.20.4
GOODWILL AND INTANGIBLE ASSETS Schedule of amortization expense (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2021
Jan. 31, 2020
Jan. 31, 2021
Jan. 31, 2020
Finite-Lived Intangible Assets [Line Items]        
Amortization of intangible assets $ 5,359 $ 6,911 $ 11,894 $ 14,188
Customer relationships        
Finite-Lived Intangible Assets [Line Items]        
Amortization of intangible assets 4,504 5,197 9,329 10,764
Trademarks and trade names        
Finite-Lived Intangible Assets [Line Items]        
Amortization of intangible assets $ 855 $ 1,714 $ 2,565 $ 3,424