Quarterly report pursuant to Section 13 or 15(d)

SHARE BASED COMPENSATION (Details Narrative)

v3.22.2.2
SHARE BASED COMPENSATION (Details Narrative) - USD ($)
3 Months Ended 9 Months Ended
Nov. 16, 2021
Nov. 02, 2021
Jun. 01, 2021
Oct. 30, 2020
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2022
Jul. 31, 2021
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Share-based compensation arrangements by share-based payment award, options, exercises in period, weighted average exercise price             $ 2.58  
Stock option exercised         $ 830,000     $ 293,000
Common Stock [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Stock option exercised         $ 5,000     1,000
Warrant [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Vesting period   5 months   5 months        
Class of warrant or right, date from which warrants or rights exercisable   Oct. 30, 2026   Oct. 30, 2025        
Warrants purchase of common stock   60,000   60,000        
Warrant exercise price   $ 4.77   $ 2.06 $ 6.56   $ 6.56  
Consulting expense         $ 0 $ 0 $ 220,000 96,000
Warrant exercised and shares withheld as payment 25,484              
Warrants to purchase common stock         300,000   300,000  
Warrants maturity date         Mar. 22, 2026   Mar. 22, 2026  
2018 Share Plan [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Shares options, granted             1,430,000  
Shares available for future grants         600,000   600,000  
Employee Stock Purchase Plan [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Option to purchase common stock         2,389 1,634    
Purchase price of common stock percentage             85.00%  
Proceeds from shares issued             $ 7,000 3,000
Equity Option [Member] | 2018 Share Plan [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Shares options, granted     2,000,000          
Equity Option [Member] | 2018 Share Plan [Member] | Common Stock [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Shares options, granted     100,000          
Non Vested Stock Option [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Stock-based compensation         $ 388,000 $ 1,981,000 $ 2,381,000 $ 1,981,000
Stock Option Activity [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Option to purchase common stock         1,001,388   1,101,388 115,388
Option to purchase common stock         505,340   558,431 7,937
Stock option exercised         $ 830,000   $ 830,000 $ 293,000
Minimum [Member] | Equity Option [Member] | 2018 Share Plan [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Share-based compensation arrangements by share-based payment award, options, exercises in period, weighted average exercise price     $ 5.00          
Maximum [Member] | Equity Option [Member] | 2018 Share Plan [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Share-based compensation arrangements by share-based payment award, options, exercises in period, weighted average exercise price     $ 8.00          
Employees and Directors [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Stock-based compensation         941,000 1,066,000 $ 2,546,000 2,822,000
Employees and Directors [Member] | Minimum [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Vesting period             1 year  
Employees and Directors [Member] | Maximum [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Vesting period             4 years  
Consultants [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Options granted         $ 109,000 $ 139,000 $ 546,000 $ 421,000
Employees and Consultants [Member] | 2018 Share Plan [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Shares options, granted         0 120,000 1,430,000 1,500,000
Employees and Consultants [Member] | Minimum [Member] | 2018 Share Plan [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Share exercise price         $ 2.62   $ 2.62  
Employees and Consultants [Member] | Maximum [Member] | 2018 Share Plan [Member]                
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]                
Share exercise price         $ 5.30   $ 5.30