Note 9 - Debt (Details Textual) $ in Thousands, ر.س in Millions, د.إ in Millions, ج.م. in Millions, $ in Millions | | | | | 1 Months Ended | 6 Months Ended | | | | | | |
Sep. 17, 2021 USD ($) | Apr. 14, 2021 USD ($) | Jul. 28, 2016 | Jun. 19, 2012 USD ($) | Apr. 30, 2022 USD ($) | Jul. 31, 2022 USD ($) | Jul. 31, 2022 CAD ($) | Jul. 31, 2021 USD ($) | Jul. 31, 2022 AED (د.إ) | Jul. 31, 2022 EGP (ج.م.) | Mar. 31, 2022 SAR (ر.س) | Jan. 31, 2022 USD ($) | Dec. 31, 2021 EGP (ج.م.) | Jun. 30, 2021 EGP (ج.م.) | Sep. 20, 2018 USD ($) |
Debt and Lease Obligation, Total | | | | | | $ 32,100 | | | | | | $ 21,900 | | | |
Line of Credit, Current | | | | | | 8,632 | | | | | | 634 | | | |
Proceeds from Sale of Property, Plant, and Equipment, Total | | | | | | 69 | | $ 12 | | | | | | | |
Repayments of Secured Debt | | | | | | 0 | | $ 892 | | | | | | | |
Finance Lease, Liability, Noncurrent | | | | | | 9,271 | | | | | | 9,327 | | | |
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,300 | | | | | | | | | |
Mortgage Note Secured by Tennessee Manufacturing Facility [Member] | | | | | | | | | | | | | | | |
Repayments of Secured Debt | | $ 900 | | | | | | | | | | | | | |
Proceeds from Issuance of Secured Debt | | | | $ 1,800 | | | | | | | | | | | |
Debt Instrument, Issuance Date | | | | Jun. 19, 2012 | | | | | | | | | | | |
Canadian Mortgage Note [Member] | | | | | | | | | | | | | | | |
Debt Instrument, Maturity Date | | | Dec. 23, 2042 | | | | | | | | | | | | |
Proceeds from Issuance of Secured Debt | | | | | | $ 5,100 | $ 6.5 | | | | | | | | |
Debt Instrument, Interest Rate, Effective Percentage | | | | | | 6.55% | | | 6.55% | 6.55% | | | | | |
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] | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | $ 18,000 | | | | | | | | | | | | | | $ 18,000 |
Debt Instrument, Term (Year) | 5 years | | | | | | | | | | | | | | |
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage | 0.25% | | | | | | | | | | | | | | |
Line of Credit, Current | | | | | | $ 8,600 | | | | | | 600 | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | 6.50% | | | 6.50% | 6.50% | | | | | |
Line of Credit Facility, Current Borrowing Capacity | | | | | | $ 5,900 | | | | | | $ 8,500 | | | |
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] | London Interbank Offered Rate (LIBOR) [Member] | Minimum [Member] | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | 2% | | | | | | | | | | | | | | |
Revolving Lines, North America [Member] | London Interbank Offered Rate (LIBOR) [Member] | Maximum [Member] | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | 2.50% | | | | | | | | | | | | | | |
Foreign Revolving Lines [Member] | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | $ 19,600 | | | | | | | | | |
Line of Credit Facility, Guaranteed Amount | | | | | | 600 | | | | | | | | | |
Letters of Credit Outstanding, Amount | | | | | | 2,600 | | | | | | | | | |
Proceeds from Issuance of Debt | | | | | | 8,700 | | | | | | | | | |
Line of Credit Facility, Remaining Borrowing Capacity | | | | | | 8,200 | | | | | | | | | |
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 | | | | | | 5.05% | | | 5.05% | 5.05% | | | | | |
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 | | | | | | 5.78% | | | 5.78% | 5.78% | | | | | |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Middle Eastern Subsidiaries, 3 [Member] | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | $ 300 | | | د.إ 1.0 | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | 5.78% | | | 5.78% | 5.78% | | | | | |
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 | | | | | | 6.53% | | | 6.53% | 6.53% | | | | | |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Egypt Subsidiaries [Member] | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | $ 5,300 | | | | | | | | ج.م. 100.0 | |
Foreign Revolving Lines [Member] | Revolving Credit Lines Used by Egypt Subsidiaries 2 [Member] | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | $ 1,200 | | | | ج.م. 22.7 | | | ج.م. 28.2 | | |
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 | | | | | | $ 5,300 | | | | | ر.س 20 | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | | | | 6.50% | | | | |
Foreign Revolving Lines [Member] | Minimum [Member] | | | | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | 5.05% | | | 5.05% | 5.05% | | | | | |
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 | | | | | | 8% | | | 8% | 8% | | | | | |
Foreign Revolving Lines [Member] | Weighted Average [Member] | | | | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | 7.21% | | | 7.21% | 7.21% | | | | | |
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] | SIBOR [Member] | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | | 3.50% | 3.50% | | | | | | | | |