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

Re: deleting an invoice



Hi.

You arent suppose to delete an invoice, rather void it. If you delete it you make issues in your books.


Mvh / Best Regards


Tone Irene Andersen

-----Original Message----- From: Michael Richardson
Sent: Thursday, August 30, 2012 9:24 PM
To: ledger-smb-users
Subject: [Ledger-smb-users] deleting an invoice


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.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users