XML 18 R7.htm IDEA: XBRL DOCUMENT v3.7.0.1
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Cash flows from operating activities:    
Net loss $ (43,924) $ (38,260)
Adjustments to reconcile net loss to net cash used in operating activities:    
Share-based compensation 3,432 2,530
Loss (gain) from change in fair value of embedded derivatives 94 (16)
Depreciation 6,502 3,583
Interest expense on preferred stock and debt obligations 4,607 2,193
Unrealized foreign exchange losses 1,052 41
Other non-cash transactions, net 165 303
(Increase) decrease in operating assets:    
Accounts receivable (9,296) 26,590
Inventories (5,460) (12,450)
Project assets 0 (15,459)
Other assets 85 108
(Decrease) increase in operating liabilities:    
Accounts payable (8,147) (196)
Accrued liabilities (7,547) (145)
Deferred revenue 616 (15,333)
Net cash used in operating activities (57,821) (46,511)
Cash flows from investing activities:    
Capital expenditures (10,469) (3,962)
Project asset expenditures (12,796) (6,505)
Cash acquired from asset acquisition 633 0
Net cash used in investing activities (22,632) (10,467)
Cash flows from financing activities:    
Repayment of debt (7,467) (9,549)
Proceeds from debt 17,891 44,781
Payment of deferred financing costs (119) (994)
Payment of preferred dividends and return of capital (3,102) (3,125)
Cash received for common stock issued for stock plans 86 177
Proceeds from sale of common stock, prefunded warrants and warrant exercises, net 28,455 68,785
Net cash provided by financing activities 35,744 100,075
Effects on cash from changes in foreign currency rates 161 (26)
Net (decrease) increase in cash, cash equivalents and restricted cash (44,548) 43,071
Cash, cash equivalents and restricted cash-beginning of period 118,316 85,740
Cash, cash equivalents and restricted cash-end of period 73,768 128,811
Supplemental cash flow disclosures:    
Cash interest paid 2,022 1,295
Noncash financing and investing activity:    
Common stock issued for Employee Stock Purchase Plan in settlement of prior year accrued employee contributions 50 105
Noncash reclass of inventory to project assets 7,282 0
Assumption of debt in conjunction with asset acquisition 2,289 0
Acquisition of project assets 2,386 0
Accrued purchase of fixed assets, cash paid in subsequent period 1,581 453
Accrued purchase of project assets, cash paid in subsequent period $ 2,597 $ 0