SCHEDULE OF COMPONENTS OF INVENTORY (Details) - USD ($)  | 
Apr. 30, 2023  | 
Oct. 31, 2022  | 
|---|---|---|
| Inventory Disclosure [Abstract] | ||
| Raw materials and parts | $ 8,568,699 | $ 7,219,344 | 
| Work in progress | 366,485 | 383,427 | 
| Finished goods | 2,298,501 | 2,424,340 | 
| Total Inventory | $ 11,233,685 | $ 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/exampleRef 
  | 
| 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 
  |