XML 36 R25.htm IDEA: XBRL DOCUMENT
v3.22.2.2

ACCRUED WARRANTY COSTS | 12 Months Ended
--- | ---
Dec. 31, 2021
ACCRUED WARRANTY COSTS |
ACCRUED WARRANTY COSTS | 15. ACCRUED WARRANTY COSTS The Company’s warranty activity is summarized below: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Years Ended December 31,
​ |  | 2019 |  | 2020 |  | 2021
​ | ​ | $ | ​ | $ | ​ | $
Beginning balance |  | 50,605 |  | 55,878 |  | 37,732
Warranty provision |  | 28,044 |  | 26,931 |  | 45,053
Warranty costs incurred |  | (23,282) |  | (46,067) |  | (35,432)
Foreign exchange effect | ​ | 511 | ​ | 990 | ​ | (2,207)
Ending balance |  | 55,878 |  | 37,732 |  | 45,146
​

X
- References No definition available. + Details
Name: | us-gaap_ProductWarrantiesDisclosuresAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for standard and extended product warranties and other product guarantee contracts, including a tabular reconciliation of the changes in the guarantor's aggregate product warranty liability for the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 460 -URI https://asc.fasb.org/topic&trid=2155896 + Details
Name: | us-gaap_ProductWarrantyDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration