XML 78 R63.htm IDEA: XBRL DOCUMENT v3.10.0.1
DEBT - Proceeds from Debt (Details) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Jan. 31, 2018
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2016
Debt Instrument [Line Items]        
Payments for convertible note hedges   $ (143,175) $ 0 $ 0
Proceeds from Issuance of Warrants   88,000    
Convertible Debt        
Debt Instrument [Line Items]        
Convertible Debt Par Amount $ 575,000 575,000    
Convertible Debt Issuance Cost (10,781) (10,800)    
Payments for convertible note hedges (143,175)      
Proceeds from Issuance of Warrants 87,975      
Debt Issuance Cost, Gross, Noncurrent (707) $ (700)    
Proceeds from Debt, Net of Issuance Costs $ 508,312