XML 24 R6.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Oct. 31, 2022
Oct. 31, 2021
Oct. 31, 2020
Cash flows from operating activities:      
Net loss $ (147,232) $ (101,025) $ (89,107)
Adjustments to reconcile net loss to net cash used in operating activities:      
Share-based compensation 6,792 4,293 1,868
Depreciation and amortization 21,274 19,872 19,377
Change in fair value of common stock warrant liability   15,974 37,086
Loss (gain) on Series 1 preferred stock extinguishment   934 (475)
Non-cash interest expense on preferred stock and debt and finance obligations 4,210 4,438 7,570
Loss (gain) on extinguishment of debt and finance obligations   11,156 (1,801)
Unrealized (gain) loss on derivative contract (779) (478) 314
Operating lease costs 1,521 1,545 1,451
Operating lease payments (1,438) (1,226) (1,016)
Impairment of property, plant and equipment and project assets 1,782 5,024 2,417
Unrealized foreign currency losses 583    
Other, net 2,632 996 674
Decrease (increase) in operating assets:      
Accounts receivable 9,199 (5,167) (6,271)
Unbilled receivables (231) (3,609) (5,590)
Inventories (28,058) (18,755) (2,111)
Other assets (2,092) (1,529) (1,297)
Increase (decrease) in operating liabilities:      
Accounts payable 6,332 1,988 (7,059)
Accrued liabilities 24,616 317 5,465
Deferred revenue (11,278) (5,186) 1,724
Net cash used in operating activities (112,167) (70,438) (36,781)
Cash flows from investing activities:      
Capital expenditures (21,078) (6,353) (382)
Project asset expenditures (25,573) (66,877) (31,527)
Asset acquisition     (611)
Net cash used in investing activities (46,651) (73,230) (32,520)
Cash flows from financing activities:      
Repayment of debt (9,544) (98,642) (30,117)
Proceeds from debt, net of debt discount   10,175 87,757
Common stock issued for stock plans and related expenses 47 18 5
Contributions received from sale of noncontrolling interest, net of return of capital 11,923 3,000  
Distribution to noncontrolling interest (308)    
Payments for taxes related to net share settlement of equity awards (1,887) (339)  
Payment for early extinguishment of debt   (4,000)  
Payment of deferred financing costs   (363) (2,697)
Repayment of Series 1 Preferred Share Obligation   (21,541)  
Proceeds from sale of common stock and warrant exercises, net of fees 183,552 526,800 173,194
Payment of preferred dividends (3,200) (3,200) (6,475)
Net cash provided by financing activities 180,583 411,908 221,667
Effects on cash from changes in foreign currency rates (933) (80) (92)
Net increase in cash, cash equivalents and restricted cash 20,832 268,160 152,274
Cash, cash equivalents and restricted cash-beginning of period 460,212 192,052 39,778
Cash, cash equivalents and restricted cash-end of period $ 481,044 $ 460,212 $ 192,052