XML 94 R79.htm IDEA: XBRL DOCUMENT v3.10.0.1
INCOME TAXES - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2015
New Accounting Pronouncement, Early Adoption [Line Items]        
Federal statutory income tax rate 26.10%      
Deferred tax assets, net, noncurrent   $ 3,420    
Valuation allowance for deferred tax assets $ 226,987 161,195    
Valuation allowance increase (65,800) 69,800    
Cash and cash equivalents 305,975 138,359 $ 99,209 $ 67,879
Unrecognized tax benefits that would impact effective tax rate 7,400      
Provisional income tax expense 93,800      
Non-US        
New Accounting Pronouncement, Early Adoption [Line Items]        
Cash and cash equivalents 146,500      
United States of America, Dollars | Non-US        
New Accounting Pronouncement, Early Adoption [Line Items]        
Cash and cash equivalents 122,600      
Federal        
New Accounting Pronouncement, Early Adoption [Line Items]        
Net operating loss carryforwards 853,200      
Federal | Research Credit Carryforwards        
New Accounting Pronouncement, Early Adoption [Line Items]        
Research credit carryforwards 43,300      
State        
New Accounting Pronouncement, Early Adoption [Line Items]        
Net operating loss carryforwards 562,100      
State | Research Credit Carryforwards        
New Accounting Pronouncement, Early Adoption [Line Items]        
Research credit carryforwards $ 30,700      
New Accounting Pronouncement, Early Adoption, Effect | Accounting Standards Update 2015-07        
New Accounting Pronouncement, Early Adoption [Line Items]        
Deferred tax assets, net, noncurrent   (3,300)    
Deferred tax liabilities, net, current   $ (3,300)