XML 73 R36.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
BASIS OF PRESENTATION Error Corrections and Prior Period Adjustments (Details) - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2019
Oct. 31, 2018
Jul. 31, 2019
Quantifying Misstatement in Current Year Financial Statements [Line Items]      
Operating expenses $ 29,504 $ 34,664  
Net loss 4,792 $ (7,365)  
Restatement Adjustment      
Quantifying Misstatement in Current Year Financial Statements [Line Items]      
Accrued expenses     $ 106,300
Adjustment of Tax Related Liabilities      
Quantifying Misstatement in Current Year Financial Statements [Line Items]      
Adjustments of tax related liabilities 6,400    
Operating Expense | Restatement Adjustment | Adjustment of Tax Related Liabilities      
Quantifying Misstatement in Current Year Financial Statements [Line Items]      
Operating expenses 137,700    
Net loss | Restatement Adjustment      
Quantifying Misstatement in Current Year Financial Statements [Line Items]      
Net loss $ (60,300)