Problem confirmation order

Hi I have this problem:

Dolibarr ha rilevato un errore tecnico.
Si tratta di informazioni utili alla diagnostica:
Data: 20130420022143
Dolibarr: 3.3.1
Livello di funzionalità: 0
PHP: 5.3.13
Server: Apache

URL richiesto: /dolibarr/commande/fiche.php?id=10127&action=confirm_validate&confirm=yes
Referer: http://www.olbit.net/dolibarr/commande/fiche.php?id=10127&action=validate
Menu manager:

Gestore del tipo di database: mysql
Richiesta dell’ultimo accesso al database in errore: UPDATE llx_commande SET ref = ‘CO1304-10000’, fk_statut = 1, date_valid=‘20130420022143’, fk_user_valid = 2 WHERE rowid = 10127
Codice di ritorno per ultimo accesso al database in errore: DB_ERROR_RECORD_ALREADY_EXISTS
Informazioni sull’ultimo accesso errato al database: Duplicate entry ‘CO1304-10000-1’ for key ‘uk_commande_ref’

Please Help me.
TKS

Hello,

I’m not sure but it looks like there is an already existing customer order CO1304-10000

Then you want to create a new one as CO1304-10000-1 , so I assume that you changed the mask for order numbering, is that right ?

If right, so this should be your problem… so change the mask again for non getting redundant order numbers (seems that -1 at the end is escaped)

Rgds.

OK, tks, I changed sintax numer order in {000000+001} and all is ok.
Number order is reboot but software is ok.
If other solutions please send me.
Tks