XML 20 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 income (loss) $ 6,764 $ (6,247) $ 17,495
Adjustments to reconcile net income (loss) to net cash provided by (used for) operating activities, net of acquisitions:      
Provision for doubtful accounts 244 510 (136)
Deferred income taxes (112) (547) 260
Equity in income of affiliates (203) (69) (583)
Foreign currency (gain) loss 31 257 730
Unrealized (gain) loss on derivatives (316) 622 (388)
Depreciation and amortization 4,193 4,547 3,745
Stock-based compensation 2,779 2,058 2,670
Goodwill impairment charge   4,903  
Change in assets and liabilities, net of acquisitions:      
(Increase) decrease in accounts receivable (15,188) 15,909 11,239
(Increase) decrease in inventories 2,165 3,461 (10,499)
(Increase) decrease in prepaid expenses 437 (4,364) (1,474)
Increase (decrease) in accounts payable 20,617 (2,367) (23,281)
Increase (decrease) in customer deposits 3,111 (189) (499)
Increase (decrease) in accrued expenses 2,142 (1,603) 114
Increase (decrease) in accrued payroll and employee benefits 3,458 (4,941) (2,468)
Increase (decrease) in accrued income tax 900 (1,695) (3,259)
Net change in derivative assets and liabilities (135) 115 330
Other 1,288 572 (409)
Net cash provided by (used for) operating activities 32,175 10,932 (6,413)
Cash flows from investing activities:      
Proceeds from sale of property and equipment 3 106 83
Purchase of property and equipment (1,260) (683) (3,169)
Software development costs (1,109) (973) (1,701)
Other investments (979) 371 243
Acquisition of business     (4,353)
Net cash provided by (used for) investing activities (3,345) (1,179) (8,897)
Cash flows from financing activities:      
Proceeds from exercise of common stock options 350 67  
Dividends paid (3,674) (3,420) (3,203)
Taxes paid related to net settlement of restricted shares (197) (498) (499)
Stock repurchases   (7,000)  
Repayment of short-term debt     (1,450)
Net cash provided by (used for) financing activities (3,521) (10,851) (5,152)
Effect of exchange rate changes on cash and cash equivalents 895 2,014 235
Net increase (decrease) in cash and cash equivalents 26,204 916 (20,227)
Cash and cash equivalents at beginning of period 57,859 56,943 77,170
Cash and cash equivalents at end of period 84,063 57,859 56,943
Cash and cash equivalents at beginning of period 57,859    
Cash and cash equivalents at end of period 84,063 57,859  
Cash paid for:      
Interest     11
Income taxes, net $ 1,572 $ 487 $ 11,025