ten24/Slatwall — pull request #2120 by dzikakis (2014-03-07 19:54:24+00:00)
Title: Update OrderDelivery_Create.cfc 

Math/logic was messed up for partial fulfillment deliveries. Wasn't taking into account tax, and was multiplying the entire line-item total by undelivered qty / current delivery qty.. Eg: 10 undelivered / 5 on this delivery =2 * the row total (10x the sku price)= too much.

Now it's simply: line-item subtotal including discounts and tax / by the qty on the line * the qty on the delivery. So: price including discounts and tax per qty 1 * the delivery qty.