SCHEDULE OF COMPONENTS OF INVENTORY (Details) - USD ($)  | 
Jan. 31, 2023  | 
Oct. 31, 2022  | 
|---|---|---|
| Inventory Disclosure [Abstract] | ||
| Raw materials and parts | $ 8,072,400 | $ 7,219,344 | 
| Work in progress | 527,401 | 383,427 | 
| Finished goods | 2,577,585 | 2,424,340 | 
| Total Inventory | $ 11,177,386 | $ 10,027,111 | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition Amount before valuation and LIFO reserves of completed merchandise or goods expected to be sold within one year or operating cycle, if longer. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
  | 
| X | ||||||||||
- Definition Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Gross amount of unprocessed materials to be used in manufacturing or production process and supplies that will be consumed. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
  | 
| X | ||||||||||
- Definition Amount before valuation and LIFO reserves of merchandise or goods in the production process expected to be completed within one year or operating cycle, if longer. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
  |