Fix: Corrige mauvaise insertion du a champ trop court
This commit is contained in:
parent
82dd9bfdb2
commit
44b781916c
@ -51,7 +51,7 @@ insert into llx_cond_reglement(rowid, code, sortorder, active, libelle, libelle_
|
|||||||
delete from llx_action_def;
|
delete from llx_action_def;
|
||||||
insert into llx_action_def (rowid,code,titre,description,objet_type) values (1,'NOTIFY_VAL_FICHINTER','Validation fiche intervention','Déclenché lors de la validation d\'une fiche d\'intervention','ficheinter');
|
insert into llx_action_def (rowid,code,titre,description,objet_type) values (1,'NOTIFY_VAL_FICHINTER','Validation fiche intervention','Déclenché lors de la validation d\'une fiche d\'intervention','ficheinter');
|
||||||
insert into llx_action_def (rowid,code,titre,description,objet_type) values (2,'NOTIFY_VAL_FAC','Validation facture','Déclenché lors de la validation d\'une facture','facture');
|
insert into llx_action_def (rowid,code,titre,description,objet_type) values (2,'NOTIFY_VAL_FAC','Validation facture','Déclenché lors de la validation d\'une facture','facture');
|
||||||
insert into llx_action_def (rowid,code,titre,description,objet_type) values (3,'NOTIFY_VAL_ORDER_SUUPLIER','Validation commande fournisseur','Déclenché lors de la validation d\'une commande fournisseur','order_supplier');
|
insert into llx_action_def (rowid,code,titre,description,objet_type) values (3,'NOTIFY_VAL_ORDER_SUPPLIER','Validation commande fournisseur','Déclenché lors de la validation d\'une commande fournisseur','order_supplier');
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Constantes de configuration
|
-- Constantes de configuration
|
||||||
|
|||||||
@ -8,6 +8,10 @@
|
|||||||
-- sans AUCUNE erreur ni warning
|
-- sans AUCUNE erreur ni warning
|
||||||
--
|
--
|
||||||
|
|
||||||
|
-- Corrige mauvaise insertion du a champ trop court
|
||||||
|
alter table llx_action_def modify code varchar(28) UNIQUE NOT NULL;
|
||||||
|
update llx_action_def set code = 'NOTIFY_VAL_ORDER_SUPPLIER' where code = 'NOTIFY_VAL_ORDER_SUUPLIE';
|
||||||
|
|
||||||
-- Nettoyage champ ref table llx_bank_account
|
-- Nettoyage champ ref table llx_bank_account
|
||||||
update llx_bank_account set ref=concat('ACCOUNT',rowid) where (ref='' or ref is null);
|
update llx_bank_account set ref=concat('ACCOUNT',rowid) where (ref='' or ref is null);
|
||||||
|
|
||||||
|
|||||||
@ -25,7 +25,7 @@
|
|||||||
create table llx_action_def
|
create table llx_action_def
|
||||||
(
|
(
|
||||||
rowid integer NOT NULL PRIMARY KEY,
|
rowid integer NOT NULL PRIMARY KEY,
|
||||||
code varchar(24) UNIQUE NOT NULL,
|
code varchar(28) UNIQUE NOT NULL,
|
||||||
tms timestamp,
|
tms timestamp,
|
||||||
titre varchar(255) NOT NULL,
|
titre varchar(255) NOT NULL,
|
||||||
description text,
|
description text,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user