EARNINGS PER SHARE (Tables)  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Aug. 31, 2022  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EARNINGS PER SHARE [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EARNINGS PER SHARE | 
 Certain outstanding options are excluded from the diluted earnings per share calculation because they are anti-dilutive (i.e., their assumed conversion into common stock would increase rather than decrease earnings per share). No options were excluded for the fiscal years ended August 31, 2022 and 2021. 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
  |