OFBiz has an interesting feature to enable entity audit and you can perhaps use 
this to keep track of product pricing changes in database. Using a custom 
product price calculation service you can compare the pricing (old vs new) and 
provide the desired pricing to the customer. The other option would be check 
the pricing of the item for comparison from any earlier order but the prices 
here can be manipulated by the pricing engine so the first approach is correct.

Vikas

On Sep 9, 2014, at 7:42 PM, darrell73s <[email protected]> wrote:

> Hi All,
> 
> I am wondering if there is a configuration somewhere which can change the
> behavior I am getting with an out of the box instance of OFBiz in order to
> retrieve the active product prices off of the order date stamp (assuming
> it's an existing order and orderDate is available) rather than the current
> date stamp. 
> 
> Here's my test case:
> 
> Using demo data, I have a default price configured for GZ-1000 of $15.99,
> and a default price for GZ-1001 of $25.99. I then place an order with (1)
> GZ-1000 for $15.99. 
> 
> After order placement, I put a thrudate on the GZ-1001 $25.99 price, which
> is AFTER the order date, and configure a new product price of $49.99. 
> 
> If I now add (1) GZ-1001 to the existing order through "Edit Items" in the
> order view, the $49.99 price is added. I understand that this is because the
> $49.99 price is the CURRENTLY active price, but am wondering if there's a
> configuration to recalculate using the product price as it was at the time
> of the order? Essentially I'm looking to add the GZ-1001 with the old price
> ($25.99) since that's what it was at order time.
> 
> If there's no configuration that can be changed, could this be accomplished
> somehow using a price rule, or some other similar out of box functionality?
> 
> Thanks!
> 
> 
> 
> --
> View this message in context: 
> http://ofbiz.135035.n4.nabble.com/Product-Pricing-From-Order-Date-tp4655035.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to