XML 81 R37.htm IDEA: XBRL DOCUMENT v3.20.1
BASIS OF PRESENTATION Error Corrections and Prior Period Adjustments (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Apr. 30, 2020
Oct. 31, 2019
Apr. 30, 2019
Apr. 30, 2020
Apr. 30, 2019
Jul. 31, 2019
Quantifying Misstatement in Current Year Financial Statements [Line Items]            
Operating expenses $ 32,403   $ 34,704 $ 99,983 $ 104,785  
Net loss $ (6,159)   $ (9,627) $ (4,924) $ (28,745)  
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)