On Tuesday 02 May 2006 20:54, you wrote:
> Stan Pinte a écrit :
> > *j'ai fait l'update vers la version 12, et lorsque j'essaye de
> > rentrer une opération d'achat, cela foire.(...)
> > * Warning*: pg_query(): Query failed: ERROR: insert or update on
> > table "jrnx" violates foreign key constraint "$1" DETAIL: Key
> > (j_poste)=(619000) is not present in table "tmp_pcmn". CONTEXT: SQL
> >  statement "insert into jrnx ( j_date, j_montant, j_poste, j_grpt,
> > j_jrn_def, j_debit, j_tech_user, j_tech_per, j_qcode ) values (
> > to_date( $1 ,'DD.MM.YYYY'), $2 , $3 , $4 , $5 , $6 , $7 , $8 , $9
> > )" PL/pgSQL function "insert_jrnx" line 23 at SQL statement in
> > *c:\export\phpcompta\include\postgres.php* on line *104* Operation
> > cancelled due to error : select insert_jrnx
> > ('5.02.2005',abs(105.00),619000,10,3,true,'stan',42,'')

Apparemment ce poste comptable n'existe pas (619000) dans le PCMN, tu
 pourrais vérifier ?

D.

-------------------------------------------------------


_______________________________________________
Phpcompta-contrib mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/phpcompta-contrib

Répondre à