XML 16 R6.htm IDEA: XBRL DOCUMENT v3.19.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
9 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Cash flows from operating activities:    
Net income (loss) $ (5,012,739) $ 1,419,083
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 1,294,062 1,340,787
Bad debt expense (recovery) 56,483 (29,247)
Share-based compensation expense 941,253 1,361,475
Loss on sale of property and equipment 2,058 7,849
(Increase) decrease in:    
Trade accounts receivable 2,811,745 (5,617,986)
Other receivables 26,038 12,849
Inventories (1,337,756) (531,995)
Prepaid expenses and other assets 113,565 (61,993)
Income taxes refundable - noncurrent (726) (44,973)
Other assets 21,473 0
Increase (decrease) in:    
Accounts payable and accrued expenses 2,714,909 1,474,746
Accrued compensation and payroll taxes (1,646,435) 1,727,689
Income taxes payable (451) 12,958
Other noncurrent liabilities (30,803) (25,386)
Net cash provided by (used in) operating activities (47,324) 1,045,856
Cash flows from investing activities:    
Purchase of and deposits for the purchase of property and equipment (483,115) (523,480)
Investment in intangible assets (57,425) (21,806)
Net cash used in investing activities (540,540) (545,286)
Cash flows from financing activities:    
Payroll taxes withheld and remitted on share-based payments (943,355) (170,501)
Proceeds from notes payable to bank 2,850,000 8,550,000
Principal payments on long-term debt and notes payable to bank (395,249) (8,671,261)
Payments for financing costs 0 (62,802)
Repurchase of common stock (1,333) (47)
Net cash provided by (used in) financing activities 1,510,063 (354,611)
Net increase in cash 922,199 145,959
Cash at beginning of period 177,413 891,169
Cash at end of period $ 1,099,612 $ 1,037,128