XML 18 R7.htm IDEA: XBRL DOCUMENT v3.5.0.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Cash flows from operating activities:    
Net loss $ (38,260) $ (20,779)
Adjustments to reconcile net loss to net cash used in operating activities:    
Share-based compensation 2,530 2,317
Gain from change in fair value of embedded derivatives (16) (36)
Depreciation 3,583 2,998
Interest expense on preferred stock and debt obligations 2,193 1,392
Unrealized foreign exchange losses (gains) 41 (1,807)
Other non-cash transactions, net 303 (182)
Decrease (increase) in operating assets:    
Accounts receivable 26,590 9,039
Inventories (12,450) (19,676)
Project assets (15,459) (10,855)
Other assets 108 (2,966)
Increase (decrease) in operating liabilities:    
Accounts payable (196) (3,762)
Accrued liabilities (145) 4,545
Deferred revenue (15,333) 4,291
Net cash used in operating activities (46,511) (35,481)
Cash flows from investing activities:    
Capital expenditures (3,962) (3,840)
Project asset expenditures (6,505) 0
Net cash used in investing activities (10,467) (3,840)
Cash flows from financing activities:    
Repayment of debt (9,549) (1,386)
Proceeds from debt 44,781 6,326
Payment of deferred finance costs (994) 0
Increase in restricted cash and cash equivalents (7,773) (2,445)
Payment of preferred dividends and return of capital (3,125) (3,154)
Cash received for common stock issued for stock plans 177 133
Proceeds from sale of common stock, warrants adn pre-funded warrants, net 68,785 22,061
Net cash provided by financing activities 92,302 21,535
Effects on cash from changes in foreign currency rates (26) (404)
Net increase (decrease) in cash and cash equivalents 35,298 (18,190)
Cash and cash equivalents-beginning of period 58,852 83,710
Cash and cash equivalents-end of period 94,150 65,520
Supplemental cash flow disclosures:    
Cash interest paid 1,295 480
Noncash financing and investing activity:    
Common stock issued for Employee Stock Purchase Plan in settlement of prior year accrued employee contributions 105 168
Accrued purchase of fixed assets, cash paid in subsequent period $ 453 $ 0