You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Eric DE MAULDE <er...@free.fr> on 2009/05/13 00:45:43 UTC

Price = Percent of Average Cost

Hi,

If I read documentation :

"2.3.11.3.6.3 Percent of Average Cost
Take the assigned percentage times the established Average Cost. For example, if you wanted to have 100 percent margin over the Average Cost, enter 200 for the value."

I've added an average cost ($10) for the product "GZ-1000" in the demo server : https://demo.ofbiz.org/ecommerce/products/100/100/p_GZ-1000
And I've added a price rule for this product 
Percent Of Average Cost = 200

But the final price is $35 (listPrice + averageCost * 2) and not $20.

I don't understand.
I would like to manage price related to only its average cost

Thanks


Eric 

Re: Price = Percent of Average Cost

Posted by David E Jones <da...@hotwaxmedia.com>.
All price calculation starts with the list price, that's just how it  
works. If you don't want the list price, just add an action that add  
-100% of the list price.

-David


On May 12, 2009, at 5:09 PM, Eric DE MAULDE wrote:

> Solution :
>
> I have to create 2 actions
> 01 : Percent Of Average Cost = -100
> 02 : Percent Of Average Cost = 150
>
> Into my own server I have to write
> 02 : Percent Of Average Cost = 100
>
>
> Eric
>
> ----- Original Message ----- From: "Eric DE MAULDE" <er...@free.fr>
> To: <us...@ofbiz.apache.org>
> Sent: Wednesday, May 13, 2009 12:45 AM
> Subject: Price = Percent of Average Cost
>
>
> Hi,
>
> If I read documentation :
>
> "2.3.11.3.6.3 Percent of Average Cost
> Take the assigned percentage times the established Average Cost. For  
> example, if you wanted to have 100 percent margin over the Average  
> Cost, enter 200 for the value."
>
> I've added an average cost ($10) for the product "GZ-1000" in the  
> demo server : https://demo.ofbiz.org/ecommerce/products/100/100/p_GZ-1000
> And I've added a price rule for this product
> Percent Of Average Cost = 200
>
> But the final price is $35 (listPrice + averageCost * 2) and not $20.
>
> I don't understand.
> I would like to manage price related to only its average cost
>
> Thanks
>
>
> Eric


Re: Price = Percent of Average Cost

Posted by Eric DE MAULDE <er...@free.fr>.
Solution :

I have to create 2 actions
01 : Percent Of Average Cost = -100
02 : Percent Of Average Cost = 150

Into my own server I have to write
02 : Percent Of Average Cost = 100


Eric

----- Original Message ----- 
From: "Eric DE MAULDE" <er...@free.fr>
To: <us...@ofbiz.apache.org>
Sent: Wednesday, May 13, 2009 12:45 AM
Subject: Price = Percent of Average Cost


Hi,

If I read documentation :

"2.3.11.3.6.3 Percent of Average Cost
Take the assigned percentage times the established Average Cost. For 
example, if you wanted to have 100 percent margin over the Average Cost, 
enter 200 for the value."

I've added an average cost ($10) for the product "GZ-1000" in the demo 
server : https://demo.ofbiz.org/ecommerce/products/100/100/p_GZ-1000
And I've added a price rule for this product
Percent Of Average Cost = 200

But the final price is $35 (listPrice + averageCost * 2) and not $20.

I don't understand.
I would like to manage price related to only its average cost

Thanks


Eric