Problème cloture de caisse

Répondre
leradisbleu
Messages : 2
Enregistré le : ven. août 14, 2020 9:28 am

ven. oct. 30, 2020 8:14 am

Bonjour,

Ayant installé le logiciel depuis quelques temps, à plusieurs reprises j'ai des soucis de fermeture de caisse mais pas systématiquement. Provisoirement, j'ai créé une nouvelle caisse quand le problème se pose. Je souhaiterais régler ce problème. Pouvez-vous m'aider à le résoudre ?

Merci d'avance,
Karine Noppe
Le radis bleu

L’ouverture ou la clôture avait été interrompue, elle a repris sans succès.
La caisse avait été fermée sur ce poste (le 29 oct. 2020 à 19:00:23) et la clôture dans la base de donnée a échouée.

The closure of the DB (following the already closed local) failed
org.openconcerto.utils.ExceptionHandler: L’ouverture ou la clôture avait été interrompue, elle a repris sans succès.
La caisse avait été fermée sur ce poste (le 29 oct. 2020 à 19:00:23) et la clôture dans la base de donnée a échouée.
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:144)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:151)
at org.openconcerto.erp.core.sales.pos.ui.CaisseFrame.main(CaisseFrame.java:185)
Caused by: org.openconcerto.erp.core.sales.pos.ui.CaisseFrame$ResumeException: The closure of the DB (following the already closed local) failed
at org.openconcerto.erp.core.sales.pos.ui.CaisseFrame.reconcileFSandDB(CaisseFrame.java:418)
at org.openconcerto.erp.core.sales.pos.ui.CaisseFrame.access$0(CaisseFrame.java:327)
at org.openconcerto.erp.core.sales.pos.ui.CaisseFrame$1.transformChecked(CaisseFrame.java:164)
at org.openconcerto.erp.core.sales.pos.ui.CaisseFrame$1.transformChecked(CaisseFrame.java:1)
at org.openconcerto.erp.core.sales.pos.model.RegisterFiles$5.transformChecked(RegisterFiles.java:259)
at org.openconcerto.erp.core.sales.pos.model.RegisterFiles$5.transformChecked(RegisterFiles.java:1)
at org.openconcerto.utils.FileUtils.doWithLock(FileUtils.java:752)
at org.openconcerto.erp.core.sales.pos.model.RegisterFiles.doWithLock(RegisterFiles.java:256)
at org.openconcerto.erp.core.sales.pos.ui.CaisseFrame.main(CaisseFrame.java:161)
Caused by: java.sql.SQLException: java.lang.IllegalArgumentException: The table of the row PREFS_COMPTE[2] doesn't contain the field 'ID_JOURNAL_VALEUR_ENCAISSEMENT'.
at org.openconcerto.erp.core.sales.pos.POSConfiguration.importReceipts(POSConfiguration.java:487)
at org.openconcerto.erp.core.sales.pos.model.RegisterDB$4.create(RegisterDB.java:240)
at org.openconcerto.erp.core.sales.pos.model.RegisterDB$4.create(RegisterDB.java:1)
at org.openconcerto.sql.utils.SQLUtils$1.handle(SQLUtils.java:82)
at org.openconcerto.sql.utils.SQLUtils$2.handle(SQLUtils.java:149)
at org.openconcerto.sql.model.ConnectionHandler.compute(ConnectionHandler.java:59)
at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:887)
at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:851)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:127)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:99)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:79)
at org.openconcerto.erp.core.sales.pos.model.RegisterDB.close(RegisterDB.java:230)
at org.openconcerto.erp.core.sales.pos.ui.CaisseFrame.reconcileFSandDB(CaisseFrame.java:416)
... 8 more
Caused by: java.lang.IllegalArgumentException: The table of the row PREFS_COMPTE[2] doesn't contain the field 'ID_JOURNAL_VALEUR_ENCAISSEMENT'.
at org.openconcerto.sql.model.SQLRow.getObject(SQLRow.java:398)
at org.openconcerto.erp.generationEcritures.GenerationReglementVenteNG.paiementCheque(GenerationReglementVenteNG.java:396)
at org.openconcerto.erp.generationEcritures.GenerationReglementVenteNG.<init>(GenerationReglementVenteNG.java:165)
at org.openconcerto.erp.generationEcritures.GenerationReglementVenteNG.<init>(GenerationReglementVenteNG.java:66)
at org.openconcerto.erp.generationEcritures.GenerationReglementVenteNG.<init>(GenerationReglementVenteNG.java:61)
at org.openconcerto.erp.core.sales.pos.POSConfiguration.importReceipts(POSConfiguration.java:471)
... 20 more
Avatar du membre
guillaume
Messages : 2429
Enregistré le : ven. févr. 11, 2011 7:15 pm

ven. oct. 30, 2020 11:02 am

Bonjour,
The table of the row PREFS_COMPTE[2] doesn't contain the field 'ID_JOURNAL_VALEUR_ENCAISSEMENT'.
A priori, vous avez mis à jour OpenConcerto en oubliant de mettre à jour la base de données via l'outil de configuration.

Cordialement,
Directeur technique d'OpenConcerto qui dans son temps libre s'occupe du forum.
Pour une assistance pro, nous sommes joignables à ILM Informatique contre quelques jetons.
Pensez aussi à lire le manuel !
leradisbleu
Messages : 2
Enregistré le : ven. août 14, 2020 9:28 am

mar. nov. 24, 2020 3:33 pm

Merci Guillaume pour le retour. Je vais donc faire attention à bien mettre à jour la base de données dans la configuration avant de clôturer. Ce qui devrait éviter que cette erreur se reproduise.

Bien cordialement,
Karine pour Le radis bleu
Répondre