XML 22 R9.htm IDEA: XBRL DOCUMENT v3.23.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
12 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Apr. 30, 2021
Operating activities      
Net (loss) income $ (176,167,000) $ (4,185,000) $ 23,345,000
Adjustments to reconcile net (loss) income from operations to cash provided by (used in) operating activities:      
Depreciation and amortization 99,999,000 60,825,000 19,262,000
Impairment of goodwill 156,017,000    
Loss (income) from equity method investments 2,453,000 (5,889,000) 10,481,000
Loss on deconsolidation of previously controlled subsidiary 189,000    
Amortization of debt issuance costs 845,000 789,000 145,000
Realized gain from sale of available-for-sale investments     (11,000)
Provision for doubtful accounts 99,000 (6,000) (114,000)
Reserve for inventory excess and obsolescence 8,136,000 2,271,000 1,178,000
Other non-cash expense (income), net 1,995,000 649,000 (449,000)
Non-cash lease expense 8,048,000 6,814,000 5,150,000
Loss on foreign currency transactions 119,000 233,000 1,000
Unrealized loss on available-for-sale equity securities, net 132,000    
Deferred income taxes (18,661,000) (7,282,000) (1,694,000)
Stock-based compensation 10,765,000 5,390,000 6,932,000
Loss on disposal of property and equipment 1,497,000 8,277,000 123,000
Amortization of debt securities discount 125,000 242,000 309,000
Changes in operating assets and liabilities, net of acquisitions:      
Accounts receivable (27,423,000) 3,084,000 17,177,000
Unbilled receivables and retentions (1,446,000) (31,883,000) 8,381,000
Inventories (61,846,000) (29,431,000) (6,357,000)
Income taxes receivable 442,000 (442,000)  
Prepaid expenses and other assets (3,821,000) (4,534,000) (6,104,000)
Accounts payable 12,538,000 (7,044,000) 2,565,000
Other liabilities (2,635,000) (7,496,000) 6,212,000
Net cash provided by (used in) operating activities 11,400,000 (9,618,000) 86,532,000
Investing activities      
Acquisition of property and equipment (14,868,000) (22,289,000) (11,263,000)
Equity method investments (5,778,000) (6,884,000) (2,675,000)
Equity security investments (5,100,000)    
Business acquisitions, net of cash acquired (5,105,000) (46,150,000) (385,614,000)
Proceeds from sale of ownership in equity method investment   6,497,000  
Proceeds from loan repayment   4,345,000  
Proceeds from deconsolidation of previously controlled subsidiary, net of cash deconsolidated (635,000)    
Redemptions of available-for-sale investments 26,059,000 35,851,000 146,425,000
Purchases of available-for-sale investments (1,326,000) (23,882,000) (125,644,000)
Other (250,000) 224,000  
Net cash used in investing activities (7,003,000) (52,288,000) (378,771,000)
Financing activities      
Principal payments of term loan (55,000,000) (10,000,000)  
Holdback and retention payments for business acquisition   (7,814,000) (1,492,000)
Proceeds from shares issued, net of issuance costs 104,649,000    
Tax withholding payment related to net settlement of equity awards (1,065,000) (1,245,000) (1,992,000)
Exercise of stock options 2,278,000 2,776,000 1,522,000
Payment of debt issuance costs   (293,000) (3,878,000)
Proceeds from long-term debt     200,000,000
Other (28,000) (31,000)  
Net cash provided by (used in) financing activities 50,834,000 (16,607,000) 194,160,000
Effects of currency translation on cash and cash equivalents 397,000 (1,319,000)  
Net increase (decrease) in cash, cash equivalents, and restricted cash 55,628,000 (79,832,000) (98,079,000)
Cash, cash equivalents and restricted cash at beginning of period 77,231,000 157,063,000 255,142,000
Cash, cash equivalents and restricted cash at end of period 132,859,000 77,231,000 157,063,000
Cash paid, net during the period for:      
Income taxes 2,911,000 1,879,000 2,405,000
Interest 10,229,000 5,025,000  
Non-cash activities      
Unrealized (gain) loss on investments, net of deferred tax expense of $0, $8, and $1 for the fiscal years ended 2023, 2022 and 2021, respectively 53,000 (43,000) (60,000)
Issuance of common stock for business acquisition     72,384,000
Change in foreign currency translation adjustments 2,009,000 (6,814,000) 75,000
Issuances of inventory to property and equipment, ISR in-service assets 6,306,000 17,481,000 769,000
Acquisitions of property and equipment included in accounts payable $ 721,000 $ 1,117,000 $ 756,000