Note 9 - Debt (Details Textual) $ in Thousands, ر.س in Millions, د.إ in Millions, ج.م. in Millions, $ in Millions | | | | | 3 Months Ended | | | | | | | | |
Sep. 17, 2021 USD ($) | Apr. 14, 2021 USD ($) | Sep. 20, 2018 USD ($) | Jul. 28, 2016 | Apr. 30, 2023 USD ($) | Apr. 30, 2023 CAD ($) | Apr. 30, 2022 USD ($) | May 31, 2023 SAR (ر.س) | Apr. 30, 2023 AED (د.إ) | Apr. 30, 2023 EGP (ج.م.) | Jan. 31, 2023 USD ($) | Nov. 30, 2022 USD ($) | Aug. 31, 2022 EGP (ج.م.) | Mar. 31, 2022 SAR (ر.س) | Dec. 31, 2021 EGP (ج.م.) | Jun. 30, 2021 USD ($) | Jun. 30, 2021 EGP (ج.م.) |
Debt and Lease Obligation | | | | | $ 27,000 | | | | | | $ 24,300 | | | | | | |
Line of Credit, Current | | | | | 4,067 | | | | | | 4,387 | | | | | | |
Proceeds from Sale of Property, Plant, and Equipment, Total | | | | | 0 | | $ 70 | | | | | | | | | | |
UNITED ARAB EMIRATES | | | | | | | | | | | | | | | | | |
Foreign Earnings Repatriated | | $ 800 | | | | | | | | | | | | | | | |
Land and Buildings in Lebanon, Tennessee [Member] | | | | | | | | | | | | | | | | | |
Lessee, Finance Lease, Term of Contract (Year) | | 15 years | | | | | | | | | | | | | | | |
Lessee, Finance Lease, Annual Rent Increase, Percentage | | 2% | | | | | | | | | | | | | | | |
Lessee, Finance Lease, Number of Options to Extend | | 4 | | | | | | | | | | | | | | | |
Lessee, Finance Lease, Renewal Term (Year) | | 5 years | | | | | | | | | | | | | | | |
Lessee, Finance Lease, Discount Rate | | 8% | | | | | | | | | | | | | | | |
Finance Lease, Liability, Noncurrent | | | | | 9,184 | | | | | | 9,215 | | | | | | |
Mortgage Note Secured by Tennessee Manufacturing Facility [Member] | | | | | | | | | | | | | | | | | |
Repayments of Secured Debt | | $ 900 | | | | | | | | | | | | | | | |
Canadian Mortgage Note [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Maturity Date | | | | Dec. 23, 2042 | | | | | | | | | | | | | |
Proceeds from Issuance of Secured Debt | | | | | $ 4,600 | $ 6.3 | | | | | | | | | | | |
Debt Instrument, Interest Rate, Effective Percentage | | | | | 8.60% | | | | 8.60% | 8.60% | | | | | | | |
Land and Buildings in Lebanon, Tennessee [Member] | | | | | | | | | | | | | | | | | |
Disposal Group, Including Discontinued Operation, Consideration | | 10,400 | | | | | | | | | | | | | | | |
Proceeds from Sale of Property, Plant, and Equipment, Total | | $ 9,100 | | | | | | | | | | | | | | | |
Maximum [Member] | | | | | | | | | | | | | | | | | |
Foreign Earnings Repatriated | | | | | $ 100 | | | | | | | | | | | | |
Revolving Lines, North America [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Term (Year) | 5 years | | 3 years | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | $ 18,000 | | $ 18,000 | | | | | | | | | | | | | | |
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage | 0.25% | | | | | | | | | | | | | | | | |
Line of Credit, Current | | | | | $ 4,100 | | | | | | 4,400 | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | 9% | | | | 9% | 9% | | | | | | | |
Line of Credit Facility, Current Borrowing Capacity | | | | | $ 7,500 | | | | | | $ 9,900 | | | | | | |
Revolving Lines, North America [Member] | North American Loan Parties [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Capital Expenditures Restrictions | $ 5,000 | | | | | | | | | | | | | | | | |
Line of Credit Facility, Common Stock Repurchase Restrictions | $ 3,000 | | | | | | | | | | | | | | | | |
Line of Credit Facility, Fixed Charge Coverage Ratio Required | 1.10 | | | | 1.10 | 1.10 | | | | | | | | | | | |
Line of Credit Facility, Covenant Terms, EBITDA Ratio, Minimum Undrawn Availability for Five Consecutive Days | $ 3,000 | | | | | | | | | | | | | | | | |
Line of Credit Facility, Covenant Terms, EBITDA Ratio, Minimum Undrawn Availability | $ 2,000 | | | | | | | | | | | | | | | | |
Line of Credit Facility, Default, Additional Interest Rate | 2% | | | | | | | | | | | | | | | | |
Revolving Lines, North America [Member] | Base Rate [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | 1% | | | | | | | | | | | | | | | | |
Revolving Lines, North America [Member] | Base Rate [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | 1.50% | | | | | | | | | | | | | | | | |
Revolving Lines, North America [Member] | Secured Overnight Financing Rate (SOFR) [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | 2% | | | | | | | | | | | | | | | | |
Revolving Lines, North America [Member] | Secured Overnight Financing Rate (SOFR) [Member] | Minimum [Member] | Additional SOFR Adjustment Based on Interest Period [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | 0.10% | | | | | | | | | | | | | | | | |
Revolving Lines, North America [Member] | Secured Overnight Financing Rate (SOFR) [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | 2.50% | | | | | | | | | | | | | | | | |
Revolving Lines, North America [Member] | Secured Overnight Financing Rate (SOFR) [Member] | Maximum [Member] | Additional SOFR Adjustment Based on Interest Period [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | 0.25% | | | | | | | | | | | | | | | | |
Foreign Revolving Lines [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | $ 21,200 | | | | | | | | | | | | |
Line of Credit Facility, Guaranteed Amount | | | | | 1,200 | | | | | | | | | | | | |
Letters of Credit Outstanding, Amount | | | | | 2,700 | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | | 8,900 | | | | | | | | | | | | |
Line of Credit Facility, Remaining Borrowing Capacity | | | | | 10,000 | | | | | | | | | | | | |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Middle Eastern Subsidiaries, 1 [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | $ 2,200 | | | | د.إ 8.0 | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | 8.40% | | | | 8.40% | 8.40% | | | | | | | |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Middle Eastern Subsidiaries, 2 [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | $ 4,800 | | | | د.إ 17.5 | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | 8.40% | | | | 8.40% | 8.40% | | | | | | | |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Middle Eastern Subsidiaries, 4 [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | $ 500 | | | | د.إ 2.0 | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | 8.70% | | | | 8.70% | 8.70% | | | | | | | |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Egypt Subsidiaries [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | | | | | | | | | $ 3,200 | ج.م. 100.0 |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Egypt Subsidiaries 2 [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | $ 300 | | | | | ج.م. 8.9 | | $ 0 | | | ج.م. 28.2 | | |
Line of Credit Facility, Interest Rate at Period End | | | | | 8% | | | | 8% | 8% | | | | | 21.10% | | |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Egypt Subsidiaries 3 [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | $ 3,200 | | | | | | | | ج.م. 100.0 | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | 8% | | | | 8% | 8% | | | | | | | |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Saudi Arabian Subsidiary [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | $ 6,700 | | | | | | | | | ر.س 25 | | | |
Foreign Revolving Lines [Member] | Renewal of Revolving Credit Lines Used by Saudi Arabian Subsidiary [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | $ 9,900 | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | 9.20% | | | | 9.20% | 9.20% | | | | | | | |
Foreign Revolving Lines [Member] | Renewal of Revolving Credit Lines Used by Saudi Arabian Subsidiary [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | ر.س | | | | | | | | ر.س 37 | | | | | | | | | |
Foreign Revolving Lines [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | 8% | | | | 8% | 8% | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | 4.50% | | | | 4.50% | 4.50% | | | | | | | |
Foreign Revolving Lines [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | 21.10% | | | | 21.10% | 21.10% | | | | | | | |
Foreign Revolving Lines [Member] | Weighted Average [Member] | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | 11.50% | | | | 11.50% | 11.50% | | | | | | | |
Foreign Revolving Lines [Member] | EIBOR [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | 3% | 3% | | | | | | | | | | | |
Foreign Revolving Lines [Member] | EIBOR [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | 3.50% | 3.50% | | | | | | | | | | | |
Foreign Revolving Lines [Member] | Central Bank of Eqypt (CBE) Rate [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | 3.50% | 3.50% | | | | | | | | | | | |
Foreign Revolving Lines [Member] | SIBOR [Member] | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | 3.50% | 3.50% | | | | | | | | | | | |