XML 26 R41.htm IDEA: XBRL DOCUMENT v3.20.1
GOODWILL AND INTANGIBLE ASSETS Schedule of amortization expense (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2020
Jan. 31, 2019
Jan. 31, 2020
Jan. 31, 2019
Finite-Lived Intangible Assets [Line Items]        
Amortization of intangible assets $ 6,911 $ 7,791 $ 14,188 $ 15,890
Customer Relationships        
Finite-Lived Intangible Assets [Line Items]        
Amortization of intangible assets 5,197 5,996 10,764 12,420
Trademarks and Trade Names        
Finite-Lived Intangible Assets [Line Items]        
Amortization of intangible assets $ 1,714 $ 1,795 $ 3,424 $ 3,470