I imported a vendor via a CLI script:
./ct.pl "action=save&db=vendor&path=bin&login=lbmoore&\
password=xX-xX-xX-xX&name=tibbar4130&vendornumber=465&\
address1=&address2=&city=&state=&zipcode=&country=&contact=&\
phone=&fax=&email=&cc=&bcc=¬es=&tax_2156=1&taxaccounts=2156&\
taxincluded=0&terms=0/n"
and then went into lsmb to edit the record:
AP -> Vendors -> Reports -> Search and pull up the entry in a list.
Selecting the entry brings up the edit vendor form and I make a change (add to
the note field: "Hi there") and click SAVE
With the result:
DBD::Pg::db selectrow_array failed: execute called with an unbound placeholder
at LedgerSMB/CT.pm line 430.
DBD::Pg::st execute failed: ERROR: duplicate key violates unique constraint
"vendor_pkey"
Error!
INSERT INTO vendor (id)
VALUES (?)
ERROR: duplicate key violates unique constraint "vendor_pkey"
I'll continue to troubleshoot, but if anyone recognizes this, help would be
gratefully appreciated.
Louis
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users