v3.26.3
DEBT (Schedule of Changes in Long-Term Debt) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Debt [Roll Forward]      
Current portion of long-term debt $ 38,675 $ 35,917  
Long-term debt (net of current portion) 147,922 94,443  
Total 186,597 130,360  
Proceeds from long-term debt received during the period:      
Current portion of long-term debt 6,347 19,769  
Long-term debt (net of current portion) 14,490 73,161  
Proceeds from long-term bank borrowings 20,837 92,930 $ 16,500
Repayments of long-term debt:      
Current portion of long-term debt (6,249) (23,303)  
Long-term debt (net of current portion) (33,749) (14,069)  
Total (39,998) (37,372) (26,320)
Reclassifications of long-term debt due in the next 12 months      
Current portion of long-term debt 25,817 6,076  
Long-term debt (net of current portion) (25,817) (6,076)  
Total 0 0  
Translation adjustments on foreign currency debt of subsidiaries whose functional currency is not the U.S. dollar      
Current portion of long-term debt 1 216  
Long-term debt (net of current portion) 108 463  
Total 109 679  
Current portion of long-term debt 64,591 38,675 35,917
Long-term debt (net of current portion) 102,954 147,922 94,443
Total 167,545 186,597 130,360
Trinidad subsidiary      
Proceeds from long-term debt received during the period:      
Current portion of long-term debt 6,347 19,311  
Long-term debt (net of current portion) 14,490 51,119  
Proceeds from long-term bank borrowings 20,837 70,430  
Guatemala subsidiary      
Proceeds from long-term debt received during the period:      
Current portion of long-term debt   458  
Long-term debt (net of current portion)   9,542  
Proceeds from long-term bank borrowings   10,000  
United States Subsidiary      
Proceeds from long-term debt received during the period:      
Current portion of long-term debt   0  
Long-term debt (net of current portion)   12,500  
Proceeds from long-term bank borrowings   12,500  
NonCash Asset      
Translation adjustments on foreign currency debt of subsidiaries whose functional currency is not the U.S. dollar      
Collateral amount 159,500 185,600 155,100
Cash Asset      
Translation adjustments on foreign currency debt of subsidiaries whose functional currency is not the U.S. dollar      
Collateral amount $ 30,900 $ 26,500 $ 1,700