XML 63 R44.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
CONVERTIBLE SENIOR NOTES - Components of Notes (Details) - USD ($)
$ in Thousands
Jan. 31, 2020
Jul. 31, 2019
Jan. 31, 2018
Debt Instrument [Line Items]      
Convertible senior notes, net $ 474,308 $ 458,910  
Convertible Debt      
Debt Instrument [Line Items]      
Principal amount 575,000 575,000 $ 575,000
Unamortized discount (95,372) (109,956)  
Unamortized debt issuance cost (5,320) (6,134)  
Carrying amount of the equity component $ 148,598 $ 148,598  
Effective interest rate 6.62%    
Payments of offering costs $ (3,000)   $ (3,000)