XML 25 R7.htm IDEA: XBRL DOCUMENT v3.21.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Oct. 31, 2021
Oct. 31, 2020
Oct. 31, 2019
Cash flows from operating activities:      
Net loss $ (101,025) $ (89,107) $ (77,568)
Adjustments to reconcile net loss to net cash used in operating activities:      
Share-based compensation 4,293 1,868 2,804
Depreciation and amortization 19,872 19,377 12,353
Change in fair value of common stock warrant liability 15,974 37,086  
Loss (gain) on extinguishment of debt and financing obligation 11,156 (1,801)  
Loss (gain) on Series 1 preferred stock extinguishment 934 (475)  
Non-cash interest expense on preferred stock and debt obligations 4,438 7,570 6,097
Operating lease costs 1,545 1,451  
Operating lease payments (1,226) (1,016)  
Impairment of property, plant and equipment and project assets 5,024 2,417 20,360
Unrealized (gain) loss on derivative contract (478) 314 624
Other non-cash transactions 996 674 511
Decrease (increase) in operating assets:      
Accounts receivable (5,167) (6,271) 4,842
Unbilled receivables (3,609) (5,590) (4,488)
Inventories (18,755) (2,111) (6,427)
Other assets (1,529) (1,297) 2,120
Increase (decrease) in operating liabilities:      
Accounts payable 1,988 (7,059) (173)
Accrued liabilities 317 5,465 2,377
Deferred revenue (5,186) 1,724 5,996
Net cash used in operating activities (70,438) (36,781) (30,572)
Cash flows from investing activities:      
Capital expenditures (6,353) (382) (2,151)
Project asset expenditures (66,877) (31,527) (31,675)
Asset acquisition   (611) (35,474)
Net cash used in investing activities (73,230) (32,520) (69,300)
Cash flows from financing activities:      
Repayment of debt (98,642) (30,117) (48,395)
Proceeds from debt, net of debt discount 10,175 87,757 69,596
Common stock issued for stock plans and related expenses 18 5 23
Payments for taxes related to net share settlement of equity awards (339)    
Payment for early extinguishment of debt (4,000)    
Payment of deferred financing costs (363) (2,697) (3,302)
Contributions received from sale of redeemable noncontrolling interest 3,000    
Repayment of Series 1 Preferred Share Obligation (21,541)    
Proceeds from sale of common stock and warrant exercises, net 526,800 173,194 43,573
Payment of preferred dividends and return of capital (3,200) (6,475) (1,840)
Net cash provided by financing activities 411,908 221,667 59,655
Effects on cash from changes in foreign currency rates (80) (92) (244)
Net increase (decrease) in cash, cash equivalents and restricted cash 268,160 152,274 (40,461)
Cash, cash equivalents and restricted cash-beginning of period 192,052 39,778 80,239
Cash, cash equivalents and restricted cash-end of period 460,212 192,052 39,778
Supplemental cash flow disclosures:      
Cash interest paid and early prepayment charge 5,765 8,376 4,091
Noncash financing and investing activity:      
Warrant exercises   25,994  
Accrued purchase of fixed assets, cash to be paid in subsequent period 1,537 39 71
Accrued purchase of project assets, cash to be paid in subsequent period $ 6,707 $ 502 $ 222