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

Possible bug?



Hi All,
Day one of going live went well, though I may found a bug.

Due to a cock-up, I need to adjust prices for a Part before producing an
invoice. If I edit the prices and then save I get:


DBD::Pg::st execute failed: ERROR: duplicate key violates unique
constraint "partsvendor_pkey"

Error!

INSERT INTO partsvendor 
(vendor_id, parts_id, 
partnumber, lastcost, 
leadtime, curr)
VALUES (?, ?, ?, ?, ?, ?)
ERROR: duplicate key violates unique constraint "partsvendor_pkey"


The price is actually updated ok in the db.

Am I doing something wrong?

V1.2.12 on Ubuntu

Cheers
Richard