Close, but I can't ignore the value of B. I am bringing it back in as an "in house" charge, so it does have to reflect a dollar amount being taken off the total I just can't ignore it. Almost like I have to turn the dollar amount that has a negative quantity into a negative dollar amount. And also I need to be able to adjust for the quantity, so if the value of the part is 2 dollars for one and I sell 2 of them the number that gets totaled is 4. I think I have been staring at it so long I can't explain it very well sorry!