XML 22 R80.htm IDEA: XBRL DOCUMENT
v3.19.2

Schedule II Valuation of Qualifying Accounts (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jul. 31, 2019 | Jul. 31, 2018 | Jul. 31, 2017
SEC Schedule, 12-09, Allowance, Credit Loss [Member] |  |  |
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] |  |  |
Balances at beginning of period | $ 4,471 | $ 4,629 | $ 5,144
Additions — Charged to expense | 587 | 752 | 732
Deductions - written off | (53) | (910) | (1,247)
Balances at end of period | 5,005 | 4,471 | 4,629
SEC Schedule, 12-09, Reserve, Inventory [Member] |  |  |
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] |  |  |
Balances at beginning of period | 12,582 | 14,322 | 15,083
Additions — Charged to expense | 3,168 | 2,797 | 4,608
Deductions - written off | (2,346) | (4,537) | (5,369)
Balances at end of period | 13,404 | 12,582 | 14,322
SEC Schedule, 12-09, Valuation Allowance, Deferred Tax Asset [Member] |  |  |
SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] |  |  |
Balances at beginning of period | 56,866 | 38,563 | 37,992
Additions — Charged to expense | 5,981 | 24,184 | 2,004
Deductions - written off | (2,774) | (5,881) | (1,433)
Balances at end of period | $ 60,073 | $ 56,866 | $ 38,563

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_MovementInValuationAllowancesAndReservesRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of valuation and qualifying accounts and reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e24092-122690 + Details
Name: | us-gaap_ValuationAllowancesAndReservesBalance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase in valuation and qualifying accounts and reserves from charge to cost and expense. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e24092-122690 + Details
Name: | us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of decrease in valuation and qualifying accounts and reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e24092-122690 + Details
Name: | us-gaap_ValuationAllowancesAndReservesDeductions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=us-gaap_AllowanceForCreditLossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=us-gaap_InventoryValuationReserveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=us-gaap_ValuationAllowanceOfDeferredTaxAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |