I see that yesterday, Boeing just upped the breakeven on cost to produce the 787 to 1400 units. What this means is that they expect to sell one for as much as it costs to make it, at 1400 units. Total sales of all variants currently sits at around 1283 units, so they are still losing money on each aircraft that they sell.
THEN, the profits from each sale will be applied to the $29.6 Billion design/certification costs.