| DEBT AND OTHER LONG-TERM OBLIGATIONS (Tables) | 3 Months Ended | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Nov. 30, 2023 | |||||||||||||||||||||||||||||||||||||
| DEBT AND OTHER LONG-TERM OBLIGATIONS | |||||||||||||||||||||||||||||||||||||
| Schedule of long-term debt |  
 | ||||||||||||||||||||||||||||||||||||
| Schedule of maturities of notes payable |  
 | ||||||||||||||||||||||||||||||||||||
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Tabular disclosure of maturity and sinking fund requirement for long-term debt. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 |