XML 59 R45.htm IDEA: XBRL DOCUMENT v3.20.1
CONVERTIBLE SENIOR NOTES - Interest Expense (Details) - Convertible Debt - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2020
Apr. 30, 2019
Apr. 30, 2020
Apr. 30, 2019
Debt Instrument [Line Items]        
Interest expense related to amortization of debt discount $ 7,475 $ 6,997 $ 22,059 $ 20,650
Interest expense related to amortization of debt issuance costs 417 390 1,231 1,152
Total interest expense $ 7,892 $ 7,387 $ 23,290 $ 21,802