XML 14 R6.htm IDEA: XBRL DOCUMENT v3.22.2.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
9 Months Ended
Jul. 31, 2022
Jul. 31, 2021
OPERATING ACTIVITIES:    
Net (loss) income $ (564,083) $ 835,285
Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:    
Depreciation and amortization 421,661 504,280
Stock-based compensation 405,821 569,305
Unrealized loss (gain) on commodities 38,241 (315,569)
Loss on equity method investments 43,155 7,369
Write-off of accounts receivable 415,096
Write-down of obsolete inventory 718,353
Amortization of right of use asset 258,028 321,921
Deferred income taxes (71,192) 4,849
Changes in operating assets and liabilities:    
Accounts receivable 1,349,778 1,156,932
Inventories (4,215,991) 750,468
Prepaid expenses and other current assets (165,419) (339,855)
Prepaid and refundable income taxes (577,043) 92,597
Accounts payable and accrued expenses (175,173) 1,048,073
Deposits and other assets (68,757) (128,353)
Change in lease liability (217,777) (367,458)
Income taxes payable (414,949) 288,294
Net cash (used in) provided by operating activities (2,820,251) 4,428,138
INVESTING ACTIVITIES:    
Purchases of machinery and equipment (1,357,066) (1,491,233)
Net cash used in investing activities (1,357,066) (1,491,233)
FINANCING ACTIVITIES:    
Advances under bank line of credit 3,027,654 2,515,563
Principal payments on note payable (2,631) (3,783)
Payment of dividend (399,000)
Principal payments under bank line of credit (714,504) (3,812,385)
Net cash provided by (used in) financing activities 1,911,519 (1,300,605)
NET (DECREASE) INCREASE IN CASH (2,265,798) 1,636,300
CASH, BEGINNING OF PERIOD 3,696,275 2,875,120
CASH, END OF PERIOD 1,430,477 4,511,420
SUPPLEMENTAL DISCLOSURE OF CASH FLOW DATA:    
Interest paid 136,682 55,389
Income taxes paid 519,229 10,307
SUPPLEMENTAL DISCLOSURE OF NON-CASH INVESTING AND FINANCING ACTIVITIES:    
Purchase of inventory by non-controlling interest 220,043  
Initial recognition of operating lease right of use asset 65,999
Initial recognition of operating lease liabilities $ 65,999