Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

So for this example we have the following items with cost:


Item IDAmount
ROGGVIN-SAMPLER24.85
ROGGN-2.1OZ-EA6.95
ROGGNP-2.2OZ-EAU4.95


The subtotal for the order was 36.75 and there were subtotal discounts of 7.95.  So if we look at the % allocations it would be:


Item IDMathPercentage
ROGGVIN-SAMPLER24.85 / 36.7567.62%
ROGGN-2.1OZ-EA6.95 / 36.7518.91%
ROGGNP-2.2OZ-EAU4.95 / 36.7513.47%


Taking those allocation percentages we have the following subtotal discount portions:


Item IDMathPortion of Subtotal Discount
ROGGVIN-SAMPLER7.95 *  67.62%5.37
ROGGN-2.1OZ-EA7.95 * 18.91%1.50
ROGGNP-2.2OZ-EAU7.95 * 13.47%1.07


Subtracting the portion of the subtotal discount from the original item unit prices we get


Item IDMathEffective Unit Price
ROGGVIN-SAMPLER24.85 - 5.3719.48
ROGGN-2.1OZ-EA6.95 - 1.505.45
ROGGNP-2.2OZ-EAU4.95 - 1.073.88