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

Using Sale on POS



Seems there is a bug when trying to post a sale.

DBD::Pg::st execute failed: ERROR: el valor null para
la columna «chart_id» viola la restricción not null
Error!


INSERT INTO acc_trans
(trans_id, chart_id, amount,
transdate, source, memo, cleared)
VALUES (?, (SELECT id FROM chart
WHERE accno = ?),
?, ?, ?, ?, ?)
ERROR: el valor null para la columna «chart_id»
viola la restricción not null


Thank you for your rapid attention ;)

-edu-



__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/