XML 19 R41.htm IDEA: XBRL DOCUMENT v3.20.1
GOODWILL AND INTANGIBLE ASSETS Schedule of amortization expense (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2020
Apr. 30, 2019
Apr. 30, 2020
Apr. 30, 2019
Finite-Lived Intangible Assets [Line Items]        
Amortization of intangible assets $ 6,531 $ 7,278 $ 20,719 $ 23,168
Customer Relationships        
Finite-Lived Intangible Assets [Line Items]        
Amortization of intangible assets 4,825 5,564 15,589 18,038
Trademarks and Trade Names        
Finite-Lived Intangible Assets [Line Items]        
Amortization of intangible assets $ 1,706 $ 1,714 $ 5,130 $ 5,130