XML 44 R33.htm IDEA: XBRL DOCUMENT v3.7.0.1
INVENTORIES (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2017
Mar. 31, 2016
Dec. 31, 2016
Jun. 30, 2016
Jun. 30, 2015
Inventory [Line Items]          
Crude oil and feedstocks $ 1,333,336   $ 1,102,007    
Refined products and blendstocks 1,272,490   1,267,861    
Warehouse stock and other 92,159   89,680    
Inventory, Gross 2,697,985   2,459,548    
Lower of cost or market adjustment (612,027) $ 1,058,273 (595,988) $ 595,988 $ 1,117,336
Inventories 2,085,958   1,863,560    
Operating Income (Loss) 31,862 29,999      
Titled Inventory [Member]          
Inventory [Line Items]          
Crude oil and feedstocks 1,333,336   1,102,007    
Refined products and blendstocks 920,573   915,397    
Warehouse stock and other 92,159   89,680    
Inventory, Gross 2,346,068   2,107,084    
Lower of cost or market adjustment (513,090)   (492,415)    
Inventories 1,832,978   1,614,669    
Inventory Supply and Offtake Arrangements [Member]          
Inventory [Line Items]          
Crude oil and feedstocks 0   0    
Refined products and blendstocks 351,917   352,464    
Warehouse stock and other 0   0    
Inventory, Gross 351,917   352,464    
Lower of cost or market adjustment (98,937)   (103,573)    
Inventories 252,980   $ 248,891    
Scenario, Adjustment [Member]          
Inventory [Line Items]          
Operating Income (Loss) $ (16,039) $ 59,063