mls wrote:
Hey Mike, does it make sense to you to use a stateful SalesQuote (or SalesOrder) to solve this problem?
It's a novel approach... and it would work but there are some potential pitfalls - but they may not be an issue for your use case. Specifically what I'm thinking of is the quantity price breaks - ideally you want to get a list of prices for a customer your list of products and it return all the prices for each product - so multiple prices per product if there were quantity price breaks.
You could emulate that and achieve the 80/20 rule by doing what many web stores do and show prices as qty 1 : $x, qty 5 - 10: $y, qty 10+ : $z and using your novel stateful quote idea you'd add the same part 3 times to the quote, and with the respective quantities of 1, 6 and 11.
Or maybe your use case there is no quantity price breaks.
Try it and see how it works for you - if so, great!
If you're feeling generous, post back here how it worked out for you.