XML 17 R6.htm IDEA: XBRL DOCUMENT v3.22.2.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Cash flows from operating activities:    
Net loss $ (105,223) $ (76,874)
Adjustments to reconcile net loss to net cash used in operating activities:    
Share-based compensation 5,126 3,573
Depreciation and amortization 16,369 14,921
Change in fair value of common stock warrant liability   15,974
Non-cash charge for extinguishment of preferred stock obligation of subsidiary   934
Non-cash interest expense on preferred stock and debt and finance obligations 3,155 3,403
Non-cash charge for extinguishment of debt   7,156
Unrealized gain on derivative contract (559) (299)
Operating lease costs 1,147 1,143
Operating lease payments (1,084) (902)
Impairment of property, plant and equipment 976  
Unrealized foreign currency losses 584 911
Other non-cash transactions (147) 171
Decrease (increase) in operating assets:    
Accounts receivable 1,983 (4,619)
Unbilled receivables (190) (5,419)
Inventories (22,783) (11,014)
Other assets (6,187) (3,281)
Increase (decrease) in operating liabilities:    
Accounts payable 6,254 668
Accrued liabilities 14,470 (2,554)
Deferred revenue (1,979) (4,477)
Net cash used in operating activities (88,088) (60,585)
Cash flows from investing activities:    
Capital expenditures (15,790) (2,907)
Project asset expenditures (23,693) (41,301)
Net cash used in investing activities (39,483) (44,208)
Cash flows from financing activities:    
Repayment of debt (7,208) (93,951)
Common stock issued for stock plans and related expenses 47 18
Contributions received from sale of noncontrolling interest, net of return of capital 11,923  
Distribution to noncontrolling interest (189)  
Payments for taxes related to net share settlement of equity awards (287)  
Repayment of Series 1 Preferred Share Obligation   (21,541)
Proceeds from sale of common stock and warrant exercises, net of fees 145,437 524,643
Payment of preferred dividends (2,400) (2,400)
Net cash provided by financing activities 147,323 406,769
Effects on cash from changes in foreign currency rates (326) (8)
Net increase in cash, cash equivalents and restricted cash 19,426 301,968
Cash, cash equivalents and restricted cash-beginning of period 460,212 192,052
Cash, cash equivalents and restricted cash-end of period 479,638 494,020
Supplemental cash flow disclosures:    
Cash interest paid and early prepayment charge 1,193 5,326
Noncash financing and investing activity:    
Operating lease liabilities   1,459
Operating lease right-of-use assets   1,459
Noncash reclassifications from inventory to project assets 7,699 5,972
Noncash reclassification from inventory to fixed assets 1,552  
Noncash reclassifications from other assets to project assets 2,375  
Warrant exercises   21,170
Accrued sale of common stock, cash received in a subsequent period   1,607
Accrued purchase of fixed assets, cash to be paid in subsequent period 3,203 315
Accrued purchase of project assets, cash to be paid in subsequent period $ 6,498 $ 875