Gainizaro / openbravoposru

Automatically exported from code.google.com/p/openbravoposru
0 stars 1 forks source link

Удаление товаров #195

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Использую mysql, не даёт удалить товар. 
Говорит:

com.openbravo.basic.BasicException: 
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: 
Cannot delete or update a parent row: a foreign key constraint fails 
(`openbravopos`.`stockcurrent`, CONSTRAINT `STOCKCURRENT_FK_1` FOREIGN KEY 
(`PRODUCT`) REFERENCES `products` (`ID`))

com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: 
Cannot delete or update a parent row: a foreign key constraint fails 
(`openbravopos`.`stockcurrent`, CONSTRAINT `STOCKCURRENT_FK_1` FOREIGN KEY 
(`PRODUCT`) REFERENCES `products` (`ID`))

Можно как-нибудь этот "склад" отлючить 
вообще?

Original issue reported on code.google.com by giichmob...@gmail.com on 27 Dec 2011 at 11:50

Attachments:

GoogleCodeExporter commented 9 years ago
Прошу прощения, кажется это моя проблема с 
базой данных :(

Original comment by giichmob...@gmail.com on 28 Dec 2011 at 12:09