XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows provided by (used in) operating activities:    
Net income $ 51,674 $ 85,281
Adjustment to reconcile net income to net cash provided by (used in) operating activities:    
(Increase) decrease in the fair value of derivative instruments [1] 19,622 (11,881)
Depreciation and amortization 23,979 25,294
Provision for losses on accounts receivable 8,510 5,264
Change in deferred taxes (10,284) 7,837
Changes in operating assets and liabilities:    
Increase in receivables (8,540) (92,604)
Decrease (increase) in inventories 29,751 (19,972)
Decrease (increase) in other assets 16,804 (5,814)
(Decrease) increase in accounts payable (19,444) 6,935
Decrease in customer credit balances (15,485) (38,497)
Increase in other current and long-term liabilities 6,128 6,724
Net cash provided by (used in) operating activities 102,715 (31,433)
Cash flows provided by (used in) investing activities:    
Capital expenditures (6,651) (11,673)
Proceeds from sales of fixed assets 781 579
Proceeds from sale of certain assets 2,202  
Purchase of investments (719) (555)
Acquisitions (1,193) (13,121)
Net cash used in investing activities (5,580) (24,770)
Cash flows provided by (used in) financing activities:    
Revolving credit facility borrowings 125,601 200,177
Revolving credit facility repayments (145,679) (79,464)
Term loan repayments (12,375) (14,615)
Distributions (17,624) (17,350)
Unit repurchases (4,475) (27,309)
Customer retainage payments (57) (1,039)
Net cash (used in) provided by financing activities (54,609) 60,400
Net increase in cash, cash equivalents, and restricted cash 42,526 4,197
Cash, cash equivalents, and restricted cash at beginning of period 14,870 5,017
Cash, cash equivalents, and restricted cash at end of period $ 57,396 $ 9,214
[1] Represents the change in value of unrealized open positions and expired options.