XML 55 R73.htm IDEA: XBRL DOCUMENT v3.19.2
INCOME TAXES - Schedule of Income Before Provision for Income Taxes, Domestic and Foreign (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Jul. 31, 2019
Apr. 30, 2019
Jan. 31, 2019
Oct. 31, 2018
Jul. 31, 2018
Apr. 30, 2018
Jan. 31, 2018
Oct. 31, 2017
Jul. 31, 2019
Jul. 31, 2018
Jul. 31, 2017
Income Tax Disclosure [Abstract]                      
Domestic                 $ (658,938) $ (201,666) $ (304,363)
Foreign                 45,878 (88,048) (70,423)
Loss before provision for income taxes $ (187,224) $ (207,390) $ (120,553) $ (97,893) $ (83,251) $ (86,517) $ (60,718) $ (59,228) $ (613,060) $ (289,714) $ (374,786)