XML 19 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
6 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Cash flows from operating activities:    
Net income (loss) $ 980,730 $ (854,849)
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Depreciation, amortization and accretion 858,662 807,488
Bad debt expense 4,856 11,169
Share-based compensation expense 702,859 431,013
Loss on sale of property and equipment 6,597 88,464
(Increase) decrease in:    
Trade accounts receivable (11,747,218) (598,894)
Other receivables 50,181 37,512
Inventories (1,982,126) (2,515,733)
Prepaid expenses and other assets (105,049) (125,232)
Income taxes refundable - noncurrent (66,127)
Increase (decrease) in:    
Accounts payable and accrued expenses 7,054,110 1,842,164
Accrued compensation and payroll taxes 1,154,677 175,086
Income taxes payable 45,404 5,712
Other noncurrent liabilities (4,649) 194,832
Net cash used in operating activities (3,047,093) (501,268)
Cash flows from investing activities:    
Purchase of and deposits for the purchase of property and equipment (215,946) (180,151)
Investment in intangible assets (11,458) (22,835)
Net cash used in investing activities (227,404) (202,986)
Cash flows from financing activities:    
Payroll taxes withheld and remitted on share-based payments (165,075) (94,815)
Proceeds from notes payable to bank 4,050,000 500,000
Principal payments on long-term debt and notes payable to bank (1,193,169) (748,915)
Payments for financing costs (30,000) (17,500)
Repurchase of common stock (47) (16,553)
Net cash provided by (used in) financing activities 2,661,709 (377,783)
Net decrease in cash (612,788) (1,082,037)
Cash at beginning of period 891,169 1,879,064
Cash at end of period $ 278,381 $ 797,027