XML 73 R59.htm IDEA: XBRL DOCUMENT
v3.19.1

INCOME TAXES (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Apr. 30, 2019 | Apr. 30, 2018 | Apr. 30, 2019 | Apr. 30, 2018
Income Tax Disclosure [Abstract] |  |  |  |
(Benefit from) provision for income taxes | $ 2,423 | $ (843) | $ 1,005 | $ 3,329
Valuation allowance release |  |  | $ 5,800 | $ 3,900

X
- Definition The amount of the valuation allowance recorded in a business combination against deductible temporary differences for which related tax benefits will be recorded as a reduction of the acquired entity's income tax expense (after such benefits are first being applied to reduce goodwill and then other noncurrent intangible assets to zero). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 740 -Section 25 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109126419&loc=d3e9901-128506 + Details
Name: | us-gaap_DeferredTaxesBusinessCombinationValuationAllowanceAvailableToReduceIncomeTaxExpense
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

X
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -Subparagraph (h) -URI http://asc.fasb.org/extlink&oid=115929826&loc=d3e8736-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 20 -Section 45 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109238882&loc=d3e38679-109324 + Details
Name: | us-gaap_IncomeTaxExpenseBenefit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration