XML 24 R7.htm IDEA: XBRL DOCUMENT v3.19.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Cash flows from operating activities:    
Net loss $ (42,389) $ (33,238)
Adjustments to reconcile net loss to net cash used in operating activities:    
Share-based compensation 2,325 2,309
Loss from change in fair value of embedded derivatives 54 53
Depreciation 8,319 6,525
Non-cash interest expense on preferred stock and debt obligations 4,664 4,418
Unrealized foreign exchange gains (23) (280)
Deferred income taxes 0 (3,035)
Impairment of property, plant and equipment 2,840 0
Project asset impairment 0 485
Unrealized loss on derivative contract 432 0
Other non-cash transactions, net 876 203
(Increase) decrease in operating assets:    
Accounts receivable 4,309 17,683
Unbilled receivables (5,603) 15,426
Inventories (8,434) 22,138
Other assets 1,734 (2,511)
Increase (decrease) in operating liabilities:    
Accounts payable 9,350 3,563
Accrued liabilities (464) (4,534)
Deferred revenue 3,703 141
Net cash (used in) provided by operating activities (18,307) 29,346
Cash flows from investing activities:    
Capital expenditures (1,922) (7,625)
Project asset expenditures (21,877) (28,411)
Asset acquisition (35,474) 0
Net cash used in investing activities (59,273) (36,036)
Cash flows from financing activities:    
Repayment of debt (23,030) (13,080)
Proceeds from debt 55,096 13,091
Payment of deferred financing costs (2,505) (352)
Payment of preferred dividends and return of capital (1,840) (3,134)
Common stock issued for stock plans and related expenses 23 0
Proceeds from sale of common stock and warrant exercises, net 15,424 10,013
Net cash provided by financing activities 43,168 6,538
Effects on cash from changes in foreign currency rates (28) (41)
Net decrease in cash, cash equivalents and restricted cash (34,440) (193)
Cash, cash equivalents and restricted cash-beginning of period 80,239 87,448
Cash, cash equivalents and restricted cash-end of period 45,799 87,255
Supplemental cash flow disclosures:    
Cash interest paid 2,688 1,960
Noncash financing and investing activity:    
Net noncash reclass of project assets to inventory 0 7,756
Accrued sale of common stock, cash received in a subsequent period 775 0
Accrued purchase of fixed assets, cash to be paid in subsequent period 281 798
Accrued purchase of project assets, cash to be paid in subsequent period 2,719 2,026
Series C Preferred Stock [Member]    
Noncash financing and investing activity:    
Preferred share conversions 15,491 17,983
Series C preferred share modification (6,047) 0
Series D Preferred Stock [Member]    
Noncash financing and investing activity:    
Preferred share conversions $ 31,158 $ 0