XML 21 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Cash flows from operating activities:    
Net loss $ (76,874) $ (70,251)
Adjustments to reconcile net loss to net cash used in operating activities:    
Share-based compensation 3,573 1,261
Depreciation and amortization 14,921 13,828
Change in fair value of common stock warrant liability 15,974 39,311
Non-cash charge (benefit) for extinguishment of preferred stock obligation of subsidiary 934 (475)
Non-cash interest expense on preferred stock and debt obligations 3,403 5,385
Non-cash charge for extinguishment of debt 7,156 (1,801)
Unrealized (gain) loss on derivative contract (299) 463
Operating lease expense 1,143 478
Operating lease payments (902) (737)
Unrealized foreign currency losses (gains) 911 (312)
Other non-cash transactions, net 171 1,083
(Increase) decrease in operating assets:    
Accounts receivable (4,619) (4,072)
Unbilled receivables (5,419) (2,727)
Inventories (11,014) (2,674)
Other assets (3,281) (1,697)
Increase (decrease) in operating liabilities:    
Accounts payable 668 (7,051)
Accrued liabilities (2,554) 4,461
Deferred revenue (4,477) 950
Net cash used in operating activities (60,585) (24,577)
Cash flows from investing activities:    
Capital expenditures (2,907) (160)
Project asset expenditures (41,301) (23,493)
Project asset acquisition   (611)
Net cash used in investing activities (44,208) (24,264)
Cash flows from financing activities:    
Repayment of debt (93,951) (27,791)
Proceeds from debt, net of debt discount   87,757
Payment of deferred financing costs   (2,697)
Issuances of common stock issued for benefit plans, net fees 18 5
Payment of preferred dividends and return of capital (2,400) (5,438)
Repayment of preferred stock obligation of subsidiary (21,541)  
Proceeds from sales of common stock and warrant exercises, net 524,643 64,737
Net cash provided by financing activities 406,769 116,573
Effects on cash from changes in foreign currency rates (8) (230)
Net increase in cash, cash equivalents and restricted cash 301,968 67,502
Cash, cash equivalents and restricted cash-beginning of period 192,052 39,778
Cash, cash equivalents and restricted cash-end of period 494,020 107,280
Supplemental cash flow disclosures:    
Cash interest paid and early prepayment charge 5,326 6,194
Noncash financing and investing activity:    
Operating lease liabilities 1,459 899
Operating lease right-of-use assets 1,459 899
Net noncash reclassifications from project assets to inventory 5,972 1,152
Warrant exercises 21,170 25,994
Accrued sale of common stock, cash received in a subsequent period 1,607 1,096
Accrued purchase of fixed assets, cash to be paid in subsequent period 315  
Accrued purchase of project assets, cash to be paid in subsequent period $ 875 $ 1,364