XML 15 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2018
Apr. 30, 2017
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income attributable to Xcerra $ 37,216 $ 10,138
Net income attributable to noncontrolling interest 169  
Net income 37,385 10,138
Add non-cash items:    
Stock-based compensation 5,923 4,612
Depreciation and amortization 4,692 4,641
Impairment of asset held for sale or disposal 173  
Other non-cash items 3,204 3,722
Changes in operating assets and liabilities:    
Accounts receivable 5,791 (742)
Inventories (7,164) (11,631)
Prepaid expenses and other assets 7,370 (6,162)
Accounts payable (5,252) 6,923
Accrued expenses (6,324) 2,916
Deferred revenue and customer advances (2,605) 581
Net cash provided by operating activities 43,193 14,998
CASH FLOWS FROM INVESTING ACTIVITIES:    
Proceeds from sales and maturities of available-for-sale securities 36,881 33,404
Purchases of available-for-sale securities (31,585) (33,566)
Proceeds from sale of Interface Board Business   2,300
Investment in variable interest entity (89)  
Proceeds from sale of property and equipment 115 1,428
Purchases of property and equipment (4,877) (5,539)
Net cash provided by (used in) investing activities 445 (1,973)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Principal payments of bank term loan (19,622) (2,116)
Payments of tax withholdings for vested RSUs (2,635) (1,522)
Proceeds from shares issued from employees' stock purchase plan   421
Net cash used in financing activities (22,257) (3,217)
Effect of exchange rate changes on cash and cash equivalents 2,789 (563)
Net increase in cash and cash equivalents 24,170 9,245
Cash and cash equivalents at beginning of period 103,637 83,065
Cash and cash equivalents at end of period $ 127,807 $ 92,310