v3.22.0.1
INVENTORIES (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Inventory [Line Items]    
Raw materials $ 315,269 $ 157,219
Work in process 30,801 19,282
Finished goods 101,763 37,632
Total manufactured goods, net 438,260 205,813
Materials purchased for resale (distribution products) 181,921 112,158
Total materials purchased for resale (distribution products), net 176,096 106,996
Total inventories 614,356 312,809
Manufactured Goods    
Inventory [Line Items]    
Less: reserve for inventory excess and obsolescence (9,573) (8,320)
Distributed Goods    
Inventory [Line Items]    
Less: reserve for inventory excess and obsolescence $ (5,825) $ (5,162)