XML 17 R6.htm IDEA: XBRL DOCUMENT v3.19.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
6 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Cash flows from operating activities:    
Net income (loss) $ (3,927,445) $ 980,730
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Depreciation and amortization 874,272 858,662
Bad debt expense 42,693 4,856
Share-based compensation expense 898,704 702,859
Loss on sale of property and equipment 1,435 6,597
(Increase) decrease in:    
Trade accounts receivable 1,072,995 (11,747,218)
Other receivables 12,002 50,181
Inventories (2,768,468) (1,982,126)
Prepaid expenses and other assets 128,688 (105,049)
Income taxes refundable - noncurrent 0 (66,127)
Increase (decrease) in:    
Accounts payable and accrued expenses 5,060,548 7,054,110
Accrued compensation and payroll taxes (1,817,695) 1,154,677
Income taxes payable 2,938 45,404
Other noncurrent liabilities (31,777) (4,649)
Net cash used in operating activities (451,110) (3,047,093)
Cash flows from investing activities:    
Purchase of and deposits for the purchase of property and equipment (448,569) (215,946)
Investment in intangible assets (48,438) (11,458)
Net cash used in investing activities (497,007) (227,404)
Cash flows from financing activities:    
Payroll taxes withheld and remitted on share-based payments (937,862) (165,075)
Proceeds from notes payable to bank 2,350,000 4,050,000
Principal payments on long-term debt and notes payable to bank (329,510) (1,193,169)
Payments for financing costs 0 (30,000)
Repurchase of common stock (1,257) (47)
Net cash provided by financing activities 1,081,371 2,661,709
Net increase (decrease) in cash 133,254 (612,788)
Cash at beginning of period 177,413 891,169
Cash at end of period $ 310,667 $ 278,381