Financing Arrangements (Tables)
3 Months Ended
Oct. 31, 2020
Debt Disclosure [Abstract]  
Schedule of long-term debt
Long-term debt
 October 31, 2020July 31, 2020
Revolving credit loans outstanding$324,000 $399,000 
Tranche A term loans outstanding546,375 546,375 
Unamortized debt issuance costs(10,483)(11,166)
Total long-term debt, net of unamortized debt issuance costs859,892 934,209 
Current portion of long-term debt(14,750)(7,375)
Long-term debt, net of unamortized debt issuance costs and excluding current portion$845,142 $926,834 
Schedule of convertible debt
Convertible Debt
 October 31, 2020July 31, 2020
Convertible debt principal amount$168,000 $168,000 
Unamortized original issue discount(37,282)(38,919)
Unamortized debt issuance costs(4,101)(4,246)
Total convertible debt, net of unamortized discount and debt issuance costs$126,617 $124,835