XML 28 R6.htm IDEA: XBRL DOCUMENT v3.7.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2017
Apr. 30, 2016
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net (loss) income $ (49,618) $ 3,361
Adjustments to reconcile net income to net cash provided by operating activities:    
Benefit from deferred income taxes (8,402) (2,681)
Depreciation and amortization 19,221 17,157
Asset impairment charges 83,474  
Share-based compensation expense 6,450 7,144
Write down of demo equipment to net realizable value 1,557 2,496
Provision for excess and obsolescence inventory 287 775
Excess tax benefit from share-based compensation (158) (300)
Change in fair value of contingent consideration (10,238)  
Provision for doubtful accounts, net of recovery 88 67
(Gain) loss on sale of property, plant and equipment (57)  
Net changes in operating assets and liabilities:    
Accounts receivable 18,295 23,518
Inventory (5,547) (24,160)
Prepaid expenses and other assets 596 (2,194)
Accounts payable 608 2,006
Accrued liabilities (2,845) 11,573
Deferred revenue (641) (743)
Customer deposits 554 (85)
Accrued income taxes and income taxes receivable 1,174 (3,839)
Other liabilities (1,423) 796
Cash paid for contingent consideration 100  
NET CASH PROVIDED BY OPERATING ACTIVITIES 53,275 34,891
CASH FLOWS FROM INVESTING ACTIVITIES:    
Additions to property, plant, and equipment (7,741) (9,664)
Acquisition of businesses, net of cash acquired   (8,026)
Proceeds from the sale of property, plant, and equipment 30 66
NET CASH USED IN INVESTING ACTIVITIES (7,711) (17,624)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Issuance of stock pursuant to exercise of stock options, employee stock purchase plan, restricted stock plans, and non-employee director stock plan 3,090 3,397
Repurchase of common stock (1,584) (11,793)
Shares repurchased for taxes for vested employee restricted stock grants (1,128) (1,774)
Excess tax benefit from share-based compensation 158 300
Dividends paid to shareholders (3,771) (3,726)
Cash paid for financing cost   (499)
Contingent consideration paid for business acquisitions (1,900)  
NET CASH USED IN FINANCING ACTIVITIES (5,135) (14,095)
EFFECT OF EXCHANGE RATE CHANGES ON CASH (493) 1,152
NET INCREASE IN CASH AND CASH EQUIVALENTS 39,936 4,324
CASH AND CASH EQUIVALENTS, BEGINNING OF PERIOD 118,697 123,800
CASH AND CASH EQUIVALENTS, END OF PERIOD 158,633 $ 128,124
Supplemental disclosures of cash flow information:    
Non-cash transfer of demonstration inventory to fixed asset $ 3,506