[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
deleting an invoice
- Subject: deleting an invoice
- From: Michael Richardson <..hidden..>
- Date: Thu, 30 Aug 2012 15:24:20 -0400
with 1.3.18, I get:
DELETE FROM invoice WHERE trans_id = ?
ERROR: update or delete on table "invoice" violates foreign key
constraint "invoice_tax_form_invoice_id_fkey" on table
"invoice_tax_form"
DETAIL: Key (id)=(77399) is still referenced from table
"invoice_tax_form".
when deleting an unpaid/unreconciled invoice.