I am so glad you went this way to fixing it, much more sensible, enforcing one pricelist per order.
However, there is a major bug in your code. What if the user changed the price manually? You will overwrite all his manual changes. I think you would be better implementing this in an onchange pricelist function.
Hi,
I am so glad you went this way to fixing it, much more sensible, enforcing one pricelist per order.
However, there is a major bug in your code. What if the user changed the price manually? You will overwrite all his manual changes. I think you would be better implementing this in an onchange pricelist function.