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

error posting sales invoice



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I get the following error when I try to post a sales invoice:

Error!


INSERT INTO ar (invnumber, person_id, entity_credit_account)
VALUES ('Fri Jun 22 12:31:39 201234413', ?, ?)
ERROR: insert or update on table "ar" violates foreign key constraint
"ar_person_id_fkey"
DETAIL: Key (person_id)=(0) is not present in table "entity_employee".

Not always, sometimes it just tells me it can't save, other times it
tells me nothing, and the only way I know it hasn't saved is that it
hasn't changed to a saved invoice screen.  There are notes, and
internal notes on this invoice.


This is with LedgerSMB 1.3.18

Jigme Datse Yli-Rasku

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJP5MjpAAoJEPTTlG5JFW+7M6AIAKYpED59mzRC/q28+LD9/qaG
GWP3HZ8SXIP2SnuScf9F8+5KX8kAuQMXvVy9M0UgCHf5UEuRxbNDrsyRydtgSXbP
Jv95gTLzkdb1mcPuWZglTW+DWFiGotmXyWdodmIO0lx/ESW8Za2z8yofn3/GWodG
hyunC0ZfbwhRZh3OZx1vK64FUpXdCn+Kxn5p+JWVtjPnmuU7OXMd4OcyK8UsuP3B
JiTh3RkZFqtoS2EgwKvkh1FeqUJXzhBKtDbPcbazieC8EN7MhCxw/Y6sAVxFX8dG
GYd8aNfKcDcf2lxP6FDDaCykeW+JyaGQK7Xrq1qZmAVmKHrWz/EQL/GuZYj5qmg=
=tIoH
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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