Note 9 - Debt (Details Textual) $ in Thousands, ر.س in Millions, د.إ in Millions, ج.م. in Millions, $ in Millions | | | | | 3 Months Ended | 9 Months Ended | | | | | | | | | |
Sep. 17, 2021 USD ($) | Apr. 14, 2021 USD ($) | Sep. 20, 2018 USD ($) | Jul. 28, 2016 | Apr. 30, 2023 | Oct. 31, 2023 USD ($) | Oct. 31, 2023 CAD ($) | Oct. 31, 2022 USD ($) | Oct. 31, 2023 AED (د.إ) | Oct. 31, 2023 EGP (ج.م.) | Oct. 01, 2023 USD ($) | May 31, 2023 SAR (ر.س) | Jan. 31, 2023 USD ($) | Nov. 30, 2022 USD ($) | Jun. 30, 2022 | Mar. 31, 2022 USD ($) | Dec. 31, 2021 EGP (ج.م.) | Jun. 30, 2021 EGP (ج.م.) |
Debt and Lease Obligation | | | | | | $ 27,200 | | | | | | | $ 24,300 | | | | | |
Line of Credit, Current | | | | | | 6,702 | | | | | | | 4,387 | | | | | |
Proceeds from Sale of Property, Plant, and Equipment, Total | | | | | | 0 | | $ 117 | | | | | | | | | | |
Long-term Debt, Current Maturities, Excluding North American Revolving Line | | | | | | 7,132 | | | | | | | 6,227 | | | | | |
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,114 | | | | | | | 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,400 | $ 6.1 | | | | | | | | | | | |
Debt Instrument, Interest Rate, Effective Percentage | | | | | | 9.10% | | | 9.10% | 9.10% | | | | | | | | |
Debt Issuance Costs, Net | | | | | | $ 100 | | | | | | | 100 | | | | | |
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 | | | | | | $ 6,700 | | | | | | | 4,400 | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | 10% | | | 10% | 10% | | | | | | | | |
Line of Credit Facility, Current Borrowing Capacity | | | | | | $ 4,600 | | | | | | | 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.1 | | | | 1.1 | | | | | | | | | | | | | |
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 | | | | | | 27,200 | | | | | | | | | | | | |
Line of Credit Facility, Guaranteed Amount | | | | | | | | | | | $ 100 | | | | | | | |
Letters of Credit Outstanding, Amount | | | | | | 6,700 | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | | | 9,500 | | | | | | | | | | | | |
Line of Credit Facility, Remaining Borrowing Capacity | | | | | | 13,700 | | | | | | | | | | | | |
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 | | | | | | 9% | | | 9% | 9% | | | | | | | | |
Long-term Debt, Current Maturities, Excluding North American Revolving Line | | | | | | $ 100 | | | | | | | 600 | | | | | |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Middle Eastern Subsidiaries, 2 [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | $ 5,300 | | | د.إ 19.5 | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | 9% | | | 9% | 9% | | | | | | | | |
Long-term Debt, Current Maturities, Excluding North American Revolving Line | | | | | | $ 1,300 | | | | | | | 1,100 | | | | | |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Egypt Subsidiaries [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | $ 3,200 | | | | | | | | | | | | ج.م. 100.0 |
Line of Credit Facility, Interest Rate at Period End | | | | | | 20.80% | | | 20.80% | 20.80% | | | | | 8% | | | |
Long-term Debt, Current Maturities, Excluding North American Revolving Line | | | | | | $ 1,600 | | | | | | | 3,100 | | | | | |
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 | | | | | | 20.80% | | | 20.80% | 20.80% | | | | | | | | |
Long-term Debt, Current Maturities, Excluding North American Revolving Line | | | | | | $ 300 | | | | | | | 300 | | | | | |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Saudi Arabian Subsidiary [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | 9,900 | | | | | | | | | | $ 37,000 | | |
Foreign Revolving Lines [Member] | Renewal of Revolving Credit Lines Used by Saudi Arabian Subsidiary [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | $ 9,900 | | | | | | ر.س 37 | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | 9.50% | | | 9.50% | 9.50% | | | | | | | | |
Long-term Debt, Current Maturities, Excluding North American Revolving Line | | | | | | $ 3,800 | | | | | | | $ 1,100 | | | | | |
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 | | | | | | 20.80% | | | 20.80% | 20.80% | | | | | | | | |
Foreign Revolving Lines [Member] | Weighted Average [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | 12.10% | | | 12.10% | 12.10% | | | | | | | | |
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] | Minimum [Member] | | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | | 1.50% | 1.50% | | | | | | | | | | | |
Foreign Revolving Lines [Member] | Central Bank of Eqypt (CBE) Rate [Member] | Maximum [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% | | | | | | | | | | | |