While trying to edit and save a part (product) by adding a row to
the Customer section, the following error occurred.|
I had selected a pricegroup and clicked Update, and then set the sellprice and clicked Save.
Can someone suggest a fix? Perhaps it is a configuration setting?
INSERT INTO partscustomer
VALUES (?, ?, ?, ?, ?, ?, ?, ?)
ERROR: insert or update on table "partscustomer" violates foreign key constraint "partscustomer_credit_id_fkey"
DETAIL: Key (credit_id)=(0) is not present in table "entity_credit_account".