v3.21.4
NATURE OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details Narrative) - USD ($)
3 Months Ended 6 Months Ended
Nov. 30, 2021
Nov. 30, 2020
Nov. 30, 2021
Nov. 30, 2020
Jan. 31, 2022
Sep. 17, 2021
Aug. 30, 2021
Aug. 04, 2021
Jun. 02, 2021
May 31, 2021
Product Information [Line Items]                    
Working Capital $ 2,800,000   $ 2,800,000             $ 3,500,000
Allowance for doubtful accounts 1,010,000   1,010,000             240,000
Accounts receivable outstanding 73,800,000   73,800,000              
Accounts receivable outstanding 4,300,000 $ 111,700,000 4,300,000 $ 111,700,000            
Accounts receivable purchased   $ 1,410,000                
Factoring expenses     27,000 $ 1,884,000            
Deferred tax asset $ 568,000   $ 568,000             264,000
Minimum [Member]                    
Product Information [Line Items]                    
Income tax term period 3 years                  
Maximum [Member]                    
Product Information [Line Items]                    
Income tax term period 4 years                  
Accounts Receivable [Member] | Customer Concentration Risk [Member] | Three Customers [Member]                    
Product Information [Line Items]                    
Concentration Risk, Percentage     62.00%              
TBK Agreement [Member]                    
Product Information [Line Items]                    
Line of Credit Facility, Maximum Borrowing Capacity $ 40,000,000.0   $ 40,000,000.0              
TBK Agreement [Member] | Minimum [Member]                    
Product Information [Line Items]                    
Line of Credit Facility, Maximum Borrowing Capacity           $ 40,000,000.0   $ 30,000,000.0    
TBK Agreement [Member] | Maximum [Member]                    
Product Information [Line Items]                    
Line of Credit Facility, Maximum Borrowing Capacity           $ 47,500,000   $ 40,000,000.0    
TBK Agreement [Member] | Forecast [Member]                    
Product Information [Line Items]                    
Line of Credit Facility, Maximum Borrowing Capacity         $ 47,500,000          
Factoring Agreement [Member]                    
Product Information [Line Items]                    
Accounts receivable outstanding                   $ 31,747,702
Repurchase of trade accounts receivable             $ 1,415,445   $ 31,596,215