XML 19 R97.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Related Party Transactions (Related Party Transactions Entered Into During the Period) (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Related party transactions entered into for the time periods presented      
Sales revenues $ 246,540 $ 358,856 $ 893,950
Service fee revenues 12,181 20,843 24,357
Purchases of product 569,619 741,736 615,739
Lease income 3,516 6,523 6,175
Labor and benefits reimbursement 10,973 13,487 $ 13,894
Accounts receivable 10,603 17,829  
Accounts payable $ 12,303 $ 28,432