When customer is set to last cost for pricing and the item is non-stock the calculation incorrectly uses $0.00 for last cost as there is no last cost assigned to non-stock items only average cost. Average cost Will now be used in this case. Corrected