XML 42 R31.htm IDEA: XBRL DOCUMENT v3.8.0.1
Nature of operations and summary of significant accounting policies (Inventories) (Details) - USD ($)
$ in Thousands
Sep. 30, 2017
Mar. 21, 2017
Dec. 31, 2016
Energy Related Inventory      
Equipment inventory $ 2,704    
Commodities 1,503    
Inventories, net $ 4,207 $ 6,885  
Predecessor      
Energy Related Inventory      
Equipment inventory     $ 8,165
Commodities     1,418
Inventory valuation allowance     (2,232)
Inventories, net   $ 6,885 $ 7,351