XML 91 R76.htm IDEA: XBRL DOCUMENT v3.10.0.1
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, 2018
Apr. 30, 2018
Jan. 31, 2018
Oct. 31, 2017
Jul. 31, 2017
Apr. 30, 2017
Jan. 31, 2017
Oct. 31, 2016
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2016
Income Tax Disclosure [Abstract]                      
Domestic                 $ (201,666) $ (304,363) $ (67,776)
Foreign                 (88,048) (70,423) (38,140)
Loss before provision for income taxes $ (83,251) $ (86,517) $ (60,718) $ (59,228) $ (64,577) $ (94,196) $ (75,822) $ (140,191) $ (289,714) $ (374,786) $ (105,916)