Note 9 - Debt (Details Textual) $ in Thousands, د.إ in Millions, ج.م. in Millions, $ in Millions | Apr. 14, 2021USD ($) | Dec. 17, 2020USD ($) | May 01, 2020USD ($) | Sep. 20, 2018USD ($) | Jul. 28, 2016USD ($) | Jul. 28, 2016CAD ($) | Jun. 19, 2012USD ($) | Jun. 30, 2021USD ($) | Apr. 30, 2021USD ($) | Jan. 31, 2021USD ($) | Jul. 31, 2020 | Apr. 30, 2020USD ($) | Apr. 30, 2021USD ($) | Jul. 31, 2021 | Oct. 31, 2020 | Apr. 30, 2021AED (د.إ) | Apr. 30, 2021EGP (ج.م.) | Jan. 31, 2021EGP (ج.م.) | Nov. 30, 2019EGP (ج.م.) |
Debt and Lease Obligation, Total | | | | | | | | | $ 8,300 | $ 13,200 | | | $ 8,300 | | | | | | |
Proceeds from Issuance of Long-term Debt, Total | | | | | | | | | 9,138 | | | | | | | | | | |
Line of Credit, Current | | | | | | | | | | 2,826 | | | | | | | | | |
Finance Lease, Liability, Current | | | | | | | | | 262 | 300 | | | 262 | | | | | | |
Finance Lease, Liability, Noncurrent | | | | | | | | | 350 | 401 | | | 350 | | | | | | |
Repayments of Secured Debt | | | | | | | | | 892 | | | | | | | | | | |
Land and Buildings in Lebanon, Tennessee [Member] | | | | | | | | | | | | | | | | | | | |
Lessee, Finance Lease, Term of Contract (Year) | 15 years | | | | | | | | | | | | | | | | | | |
Lessee, Finance Lease, Annual Rent | $ 800 | | | | | | | | | | | | | | | | | | |
Lessee, Finance Lease, Annual Rent Increase, Percentage | 2.00% | | | | | | | | | | | | | | | | | | |
Lessee, Finance Lease, Number of Options to Extend | 4 | | | | | | | | | | | | | | | | | | |
Lessee, Finance Lease, Renewal Term (Year) | 5 years | | | | | | | | | | | | | | | | | | |
Lessee, Finance Lease, Discount Rate | 8.00% | | | | | | | | | | | | | | | | | | |
Finance Lease, Liability, Current | | | | | | | | | 200 | | | | 200 | | | | | | |
Finance Lease, Liability, Noncurrent | | | | | | | | | 8,905 | | | | 8,905 | | | | | | |
Land and Buildings in Lebanon, Tennessee [Member] | | | | | | | | | | | | | | | | | | | |
Disposal Group, Including Discontinued Operation, Consideration | $ 10,400 | | | | | | | | | | | | | | | | | | |
Proceeds from Sale of Property, Plant, and Equipment, Total | 8,700 | | | | | | | | | | | | | | | | | | |
Escrow Deposit | 400 | | | | | | | | | | | | | | | | | | |
Revolving Lines, North America [Member] | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | $ 18,000 | | | | | | | | | | | | | | | |
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage | | | | 0.375% | | | | | | | | | | | | | | | |
Line of Credit Facility, Capital Expenditures Restrictions | | | | $ 3,000 | | | | | | | | | | | | | | | |
Line of Credit Facility, Covenant Terms, EBITDA Ratio, Term One | | | | 1.1 | | | | | | | | | | | | | | | |
Line of Credit Facility, Covenant Terms, EBITDA Ratio, Term Two | | | | 1.1 | | | | | | | | | | | | | | | |
Line of Credit Facility, Covenant, Fixed Charge Coverage Ratio | | | | | | | | | | | | | | | 1.1 | | | | |
Repayments of Long-term Lines of Credit | | $ 1,000 | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Additional Fees to Be Incurred | | 100 | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity, Availability Block | | $ 2,000 | | | | | | | | | | | | | | | | | |
Line of Credit, Current | | | | | | | | | 0 | 2,800 | | | 0 | | | | | | |
Line of Credit Facility, Current Borrowing Capacity | | | | | | | | | 7,600 | $ 1,700 | | | $ 7,600 | | | | | | |
Revolving Lines, North America [Member] | The Company and Its Subsidiaries [Member] | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Fixed Charge Coverage Ratio Required | | | | | | | | | | | | | 1.25 | | | | | | |
Revolving Lines, North America [Member] | The Company and Its Subsidiaries [Member] | Forecast [Member] | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Fixed Charge Coverage Ratio Required | | | | | | | | | | | | | | 1.25 | | | | | |
Revolving Lines, North America [Member] | North American Loan Parties [Member] | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Fixed Charge Coverage Ratio Required | | | | | | | | | | 1.1 | | | 1.1 | | | | | | |
Line of Credit Facility, Cash Available to Satisfy a Future Potential Repatriation Cure of Ratio Covenant Breach | | | | | | | | | 6,000 | | | | $ 6,000 | | | | | | |
Revolving Lines, North America [Member] | North American Loan Parties [Member] | Forecast [Member] | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Fixed Charge Coverage Ratio Required | | | | | | | | | | | | | | 1.1 | | | | | |
Proceeds from Cash Repatriated from Subsidiary | | | | | | | | $ 900 | | | | | | | | | | | |
Foreign Revolving Lines [Member] | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | | $ 5,800 | | | | $ 5,800 | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | | 5.13% | | | | 5.13% | | | 5.13% | 5.13% | | |
Letters of Credit Outstanding, Amount | | | | | | | | | $ 5,300 | | | | $ 5,300 | | | | | | |
Proceeds from Issuance of Debt | | | | | | | | | 2,000 | | | | | | | | | | |
Line of Credit Facility, Remaining Borrowing Capacity | | | | | | | | | $ 5,800 | | | | $ 5,800 | | | | | | |
Foreign Revolving Lines [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | | 3.50% | | | | 3.50% | | | 3.50% | 3.50% | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | 4.50% | | | | 4.50% | | | 4.50% | 4.50% | | |
Foreign Revolving Lines [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | | 8.00% | | | | 8.00% | | | 8.00% | 8.00% | | |
Foreign Revolving Lines [Member] | EIBOR [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | | | | | 3.00% | | | | | | | | | | |
Foreign Revolving Lines [Member] | EIBOR [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | | | | | 3.50% | | | | | | | | | | |
Paycheck Protection Program CARES Act [Member] | | | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Long-term Debt, Total | | | $ 3,200 | | | | | | | | | | | | | | | | |
Percent of Proceeds from Issuance of Debt Used for Payroll Related Expenses | | | | | | | | | | | 100.00% | | | | | | | | |
Mortgage Note Secured by Tennessee Manufacturing Facility [Member] | | | | | | | | | | | | | | | | | | | |
Repayments of Secured Debt | $ 900 | | | | | | | | | | | | | | | | | | |
Debt Instrument, Issuance Date | | | | | | | Jun. 19, 2012 | | | | | | | | | | | | |
Proceeds from Issuance of Secured Debt | | | | | | | $ 1,800 | | | | | | | | | | | | |
Revolving Credit Lines Used by Middle Eastern Subsidiaries, 1 [Member] | Foreign Revolving Lines [Member] | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | | $ 2,200 | | | | $ 2,200 | | | د.إ 8.0 | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | | 3.50% | | | | 3.50% | | | 3.50% | 3.50% | | |
Revolving Credit Lines Used by Middle Eastern Subsidiaries, 2 [Member] | Foreign Revolving Lines [Member] | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | | $ 5,300 | | | | $ 5,300 | | | د.إ 19.5 | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | | 4.50% | | | | 4.50% | | | 4.50% | 4.50% | | |
Revolving Credit Lines Used by Middle Eastern Subsidiaries, 3 [Member] | Foreign Revolving Lines [Member] | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | | $ 12,700 | | | | $ 12,700 | | | | ج.م. 100.0 | | ج.م. 200.0 |
Revolving Credit Lines Used by Middle Eastern Subsidiaries, 4 [Member] | Foreign Revolving Lines [Member] | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | | $ 2,900 | | | | $ 2,900 | | | | | ج.م. 46.2 | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | | 8.00% | | | | 8.00% | | | 8.00% | 8.00% | | |
Canadian Mortgage Note [Member] | | | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | | $ 6,100 | $ 8 | | | | | | | | | | | | | |
Debt Instrument, Maturity Date | | | | | Dec. 23, 2042 | Dec. 23, 2042 | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Effective Percentage | | | | | | | | | 4.55% | | | | 4.55% | | | 4.55% | 4.55% | | |