XML 22 R8.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Oct. 31, 2015
Cash flows from operating activities:      
Net loss $ (53,903) $ (51,208) $ (29,684)
Adjustments to reconcile net loss to net cash used in operating activities:      
Share-based compensation 4,585 3,425 3,157
Loss (gain) from change in fair value of embedded derivatives 91 (14) (23)
Depreciation 8,518 4,949 4,099
Amortization of non-cash interest expense 6,256 3,207 1,830
Foreign currency transaction losses (gains) 581 (324) (2,075)
Other non-cash transactions 165 451 412
Decrease (increase) in operating assets:      
Accounts receivable (51,276) 30,235 3,173
Inventories (7,972) (8,052) (10,100)
Project assets 0 0 (11,398)
Other assets (714) (837) 1,022
(Decrease) increase in operating liabilities:      
Accounts payable 25,020 (3,019) (7,224)
Accrued liabilities (2,290) 1,240 6,435
Deferred revenue (906) (26,648) (3,898)
Net cash used in operating activities (71,845) (46,595) (44,274)
Cash flows from investing activities:      
Capital expenditures (12,351) (7,726) (6,930)
Expenditures for long-term project assets (19,726) (33,726) 0
Cash acquired from acquisition 633 0 0
Net cash used in investing activities (31,444) (41,452) (6,930)
Cash flows from financing activities:      
Repayment of debt (8,571) (30,452) (1,535)
Proceeds from debt 17,877 85,935 6,763
Payments of deferred finance costs (206) (1,758) 0
Purchase of non-controlling shares of subsidiary 0 (3) 0
Net proceeds from issuance of Series C preferred shares 27,866 0 0
Proceeds from common stock issuance and warrant exercises, net of registration fees 39,396 70,929 27,060
Payment of preferred dividends and return of capital (4,156) (4,170) (4,202)
Common stock issued for stock plans and related expenses 86 177 133
Net cash provided by financing activities 72,292 120,658 28,219
Effects on cash from changes in foreign currency rates 129 (35) (108)
Net (decrease) increase in cash, cash equivalents, and restricted cash (30,868) 32,576 (23,093)
Cash, cash equivalents, and restricted cash-beginning of year 118,316 85,740 108,833
Cash, cash equivalents, and restricted cash-end of year $ 87,448 $ 118,316 $ 85,740