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)

X
- Definition The portion of earnings or loss from continuing operations before income taxes that is attributable to domestic operations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)(1)(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 20 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=68072869&loc=d3e41242-110953 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(10)) -URI http://asc.fasb.org/extlink&oid=115205541&loc=SL114868664-224227 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(8)) -URI http://asc.fasb.org/extlink&oid=114873790&loc=SL114874131-224263 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(15)) -URI http://asc.fasb.org/extlink&oid=114873765&loc=SL114874048-224260 + Details
Name: | us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The portion of earnings or loss from continuing operations before income taxes that is attributable to foreign operations, which is defined as Income or Loss generated from operations located outside the entity's country of domicile. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)(1)(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_IncomeTaxDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration