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