XML 18 R7.htm IDEA: XBRL DOCUMENT v3.20.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2020
Jul. 31, 2019
Cash flows from operating activities:    
Net loss $ (70,251) $ (42,389)
Adjustments to reconcile net loss to net cash used in operating activities:    
Share-based compensation 1,261 2,325
Loss from change in fair value of embedded derivatives 0 54
Depreciation and amortization 13,828 8,319
Change in fair value of common stock warrant liability 39,311 0
Gain on extinguishment of financing obligation (1,801) 0
Gain on Series 1 preferred stock extinguishment (475) 0
Non-cash interest expense on preferred stock and debt obligations 5,385 4,664
Operating lease expense 478 0
Operating lease payments (737) 0
Unrealized foreign exchange gains (312) (23)
Impairment of property, plant and equipment 0 2,840
Unrealized loss on derivative contract 463 432
Other non-cash transactions, net 1,083 876
(Increase) decrease in operating assets:    
Accounts receivable (4,072) 4,309
Unbilled receivables (2,727) (5,603)
Inventories (2,674) (8,434)
Other assets (1,697) 1,734
Increase (decrease) in operating liabilities:    
Accounts payable (7,051) 9,350
Accrued liabilities 4,461 (464)
Deferred revenue 950 3,703
Net cash used in operating activities (24,577) (18,307)
Cash flows from investing activities:    
Capital expenditures (160) (1,922)
Project asset expenditures (23,493) (21,877)
Project asset acquisition (611) (35,474)
Net cash used in investing activities (24,264) (59,273)
Cash flows from financing activities:    
Repayment of debt (27,791) (23,030)
Proceeds from debt, net of debt discount 87,757 55,096
Payment of deferred financing costs (2,697) (2,505)
Payment of preferred dividends and return of capital (5,438) (1,840)
Common stock issued for stock plans and related expenses 5 23
Proceeds from sale of common stock and warrant exercises, net 64,737 15,424
Net cash provided by financing activities 116,573 43,168
Effects on cash from changes in foreign currency rates (230) (28)
Net increase (decrease) in cash, cash equivalents and restricted cash 67,502 (34,440)
Cash, cash equivalents and restricted cash-beginning of period 39,778 80,239
Cash, cash equivalents and restricted cash-end of period 107,280 45,799
Supplemental cash flow disclosures:    
Cash interest paid 6,194 2,688
Noncash financing and investing activity:    
Addition of operating lease liabilities 899 0
Addition of operating lease right-of-use assets 899 0
Net noncash reclassifications from project assets to inventory 1,152 0
Cashless warrant exercises 25,994 0
Accrued sale of common stock, cash received in a subsequent period 1,096 775
Accrued purchase of fixed assets, cash to be paid in subsequent period 0 281
Accrued purchase of project assets, cash to be paid in subsequent period 1,364 2,719
Series C Preferred Stock [Member]    
Noncash financing and investing activity:    
Preferred share conversions 0 15,491
Series C preferred share modification 0 6,047
Series D Preferred Stock [Member]    
Noncash financing and investing activity:    
Preferred share conversions $ 0 $ 31,158