dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] update supplier price


From: Christophe Battarel
Subject: Re: [Dolibarr-dev] update supplier price
Date: Fri, 20 Apr 2012 10:33:55 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1

I work on 3.11 but it seems to be the same in 3.2 : function update_buyprice in fourn/class/fournisseur.product.class.php


Le 20/04/2012 10:31, Laurent Destailleur (eldy) a écrit :
There was some changes into 3.2 for supplier prices management (one useless table less).
Do you speak about 3.2 or previous version ?


Le 20/04/2012 10:07, Christophe Battarel a écrit :
Hello,
I dont understand when you want to update a supplier price, you delete it then recreate it in the database.

I'm developing a module for commercial margins and i wanted to memorize the rowid of the supplier price in case it change between propale and order; but if the rowid change when you update a supplier price, my code is useless.

So my question is : do you have a reason for delete and recreate the supplier price instead of update it ?

Regards,
Christophe




--
Responsable technique
SARL altairis
www.altairis.fr
09 52 71 70 96




reply via email to

[Prev in Thread] Current Thread [Next in Thread]