Condensed Consolidated Statements of Cash Flows - USD ($)
|
9 Months Ended |
Apr. 30, 2017 |
Apr. 30, 2016 |
| Cash flows from operating activities: |
|
|
| Net income (loss) |
$ 8,513,000
|
$ (10,440,000)
|
| Adjustments to reconcile net income (loss) to net cash provided by operating activities: |
|
|
| Depreciation and amortization of property, plant and equipment |
10,849,000
|
6,078,000
|
| Amortization of intangible assets with finite lives |
17,555,000
|
7,348,000
|
| Amortization of stock-based compensation |
2,980,000
|
3,166,000
|
| Amortization of deferred financing costs |
1,450,000
|
292,000
|
| Settlement of intellectual property litigation |
(12,020,000)
|
0
|
| Gain on disposal of property, plant and equipment |
(147,000)
|
(15,000)
|
| Provision for allowance for doubtful accounts |
454,000
|
670,000
|
| Provision for excess and obsolete inventory |
1,758,000
|
2,022,000
|
| Excess income tax benefit from stock-based award exercises |
(78,000)
|
(23,000)
|
| Deferred income tax expense (benefit) |
6,606,000
|
(516,000)
|
| Changes in assets and liabilities, net of effects of business acquisition: |
|
|
| Accounts receivable |
30,065,000
|
23,057,000
|
| Inventories |
2,259,000
|
5,068,000
|
| Prepaid expenses and other current assets |
(1,532,000)
|
1,877,000
|
| Other assets |
230,000
|
(306,000)
|
| Accounts payable |
(6,088,000)
|
(9,846,000)
|
| Accrued expenses and other current liabilities |
(16,832,000)
|
(4,013,000)
|
| Customer advances and deposits |
3,961,000
|
(5,910,000)
|
| Other liabilities, non-current |
(1,042,000)
|
(882,000)
|
| Interest payable |
(1,226,000)
|
82,000
|
| Income taxes payable |
(4,038,000)
|
(5,436,000)
|
| Net cash provided by operating activities |
43,677,000
|
12,273,000
|
| Cash flows from investing activities: |
|
|
| Payments for business acquisition, net of cash acquired |
0
|
280,535,000
|
| Purchases of property, plant and equipment |
(6,223,000)
|
(3,063,000)
|
| Net cash used in investing activities |
(6,223,000)
|
(283,598,000)
|
| Cash flows from financing activities: |
|
|
| Net (payments) borrowings under Revolving Loan Facility |
(18,300,000)
|
101,905,000
|
| Cash dividends paid |
(16,518,000)
|
(14,540,000)
|
| Repayment of long-term debt under Term Loan Facility |
(7,747,000)
|
(3,125,000)
|
| Repayment of principal amounts under capital lease obligations |
(2,739,000)
|
(717,000)
|
| Payment of issuance costs related to equity offering |
(626,000)
|
(337,000)
|
| Payment of deferred financing costs |
(104,000)
|
(10,123,000)
|
| Proceeds from issuance of employee stock purchase plan shares |
514,000
|
499,000
|
| Excess income tax benefit from stock-based award exercises |
78,000
|
23,000
|
| Borrowing of long-term debt under Term Loan Facility |
0
|
250,000,000
|
| Required payments for debt assumed for business acquisition |
0
|
(134,101,000)
|
| Net cash (used in) provided by financing activities |
(45,442,000)
|
189,484,000
|
| Net decrease in cash and cash equivalents |
(7,988,000)
|
(81,841,000)
|
| Cash and cash equivalents at beginning of period |
66,805,000
|
150,953,000
|
| Cash and cash equivalents at end of period |
58,817,000
|
69,112,000
|
| Cash paid during the period for: |
|
|
| Interest |
8,584,000
|
2,976,000
|
| Income taxes, net |
2,240,000
|
4,766,000
|
| Non-cash investing and financing activities: |
|
|
| Cash dividends declared but unpaid (including accrual of dividend equivalents) |
2,570,000
|
5,265,000
|
| Accrued additions to property, plant and equipment |
824,000
|
125,000
|
| Issuance of restricted stock |
14,000
|
0
|
| Accrued deferred financing costs |
0
|
139,000
|
| Accrued shelf registration costs |
$ 0
|
$ 20,000
|