Acquisition-Related Restructuring Plan - Activity of Facility Related Exit Costs (Details) - USD ($) |
3 Months Ended | 9 Months Ended | 105 Months Ended | ||
|---|---|---|---|---|---|
Apr. 30, 2017 |
Apr. 30, 2016 |
Apr. 30, 2017 |
Apr. 30, 2016 |
Apr. 30, 2017 |
|
| Restructuring Reserve [Roll Forward] | |||||
| Present value of estimated facility-related exit costs, beginning balance | $ 3,327,000 | $ 2,100,000 | |||
| Cash payments made | (1,178,000) | (10,191,000) | |||
| Cash payments received | 8,600,000 | ||||
| Accreted interest recorded | $ 44,000 | $ 68,000 | 151,000 | $ 216,000 | 1,791,000 |
| Present value of estimated facility-related exit costs, ending balance | 2,300,000 | 2,300,000 | 2,300,000 | ||
| Amount recorded as accrued expenses and other current liabilities in the Condensed Consolidated Balance Sheet | 1,497,000 | 1,497,000 | 1,497,000 | ||
| Amount recorded as other liabilities in the Condensed Consolidated Balance Sheet | $ 803,000 | $ 803,000 | $ 803,000 | ||