SCHEDULE II VALUATION AND QUALIFYING ACCOUNTS (Details) - Schedule of Valuation and Qualifying Accounts - USD ($) $ in Thousands |
12 Months Ended | ||||
---|---|---|---|---|---|
Jul. 31, 2017 |
Jul. 31, 2016 |
Jul. 31, 2015 |
|||
Allowance for Doubtful Accounts [Member] | |||||
SCHEDULE II VALUATION AND QUALIFYING ACCOUNTS (Details) - Schedule of Valuation and Qualifying Accounts [Line Items] | |||||
Balance at Beginning of period | $ 3,517 | $ 1,786 | $ 2,142 | ||
Charged (credited) to costs and expenses | 2,775 | 2,336 | 2,284 | ||
Deductions | [1] | 2,716 | 605 | 2,640 | |
Balance at end of period | 3,576 | 3,517 | 1,786 | ||
Valuation Allowance of Deferred Tax Assets [Member] | |||||
SCHEDULE II VALUATION AND QUALIFYING ACCOUNTS (Details) - Schedule of Valuation and Qualifying Accounts [Line Items] | |||||
Balance at Beginning of period | 34,912 | 49,658 | 49,465 | ||
Charged (credited) to costs and expenses | (2,179) | (14,746) | 193 | ||
Balance at end of period | $ 32,733 | $ 34,912 | $ 49,658 | ||
|
X | ||||||||||
- References No definition available.
|
X | ||||||||||
- Definition Total of allowances and reserves, the valuation and qualifying accounts that are either netted against the cost of an asset (in order to value it at its carrying value) or that reflect a liability established to represent expected future costs. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount of increase in the allowances and reserves, which consist of the valuation and qualifying accounts that are either netted against the cost of an asset or that reflect a liability established to represent expected future costs, from charges to costs and expenses. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Total of the deductions in a given period to allowances and reserves, the valuation and qualifying accounts that are either netted against the cost of an asset (in order to value it at its carrying value) or that reflect a liability established to represent expected future costs, representing receivables written off as uncollectible and portions of the reserves utilized, respectively. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|