XML 103 R91.htm IDEA: XBRL DOCUMENT v3.22.2.2
INCOME TAXES (Reconciliation of Unrecognized Tax Benefits) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2022
Aug. 31, 2021
Aug. 31, 2020
INCOME TAXES [Abstract]      
Balance at beginning of fiscal year $ 3,911 $ 4,573 $ 6,490
Gross increase - tax positions in prior period 264 135 464
Gross decrease - tax positions in prior period   (306)  
Additions based on tax positions related to the current year 1,356 333 186
Expirations of the statute of limitations for the assessment of taxes (490) (824) (2,567)
Balance at end of fiscal year $ 5,041 $ 3,911 $ 4,573