Skip to content
Snippets Groups Projects
Commit 9f10fd79 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

New: Add field ref_ext to allow external program to add their reference

parent 919decc6
No related branches found
No related tags found
No related merge requests found
...@@ -124,6 +124,7 @@ ALTER TABLE llx_commande ADD COLUMN ref_ext varchar(30) after entity; ...@@ -124,6 +124,7 @@ ALTER TABLE llx_commande ADD COLUMN ref_ext varchar(30) after entity;
ALTER TABLE llx_propal ADD COLUMN ref_ext varchar(30) after entity; ALTER TABLE llx_propal ADD COLUMN ref_ext varchar(30) after entity;
ALTER TABLE llx_user ADD COLUMN ref_ext varchar(30) after entity; ALTER TABLE llx_user ADD COLUMN ref_ext varchar(30) after entity;
ALTER TABLE llx_societe ADD COLUMN ref_ext varchar(60) after entity; ALTER TABLE llx_societe ADD COLUMN ref_ext varchar(60) after entity;
ALTER TABLE llx_product ADD COLUMN ref_ext varchar(32) after entity;
ALTER TABLE llx_mailing_cibles CHANGE COLUMN url source_url integer; ALTER TABLE llx_mailing_cibles CHANGE COLUMN url source_url integer;
...@@ -141,9 +142,9 @@ ALTER TABLE llx_facture_rec ADD COLUMN nb_gen_max integer DEFAULT NULL; ...@@ -141,9 +142,9 @@ ALTER TABLE llx_facture_rec ADD COLUMN nb_gen_max integer DEFAULT NULL;
ALTER TABLE llx_user ADD COLUMN openid varchar(255); ALTER TABLE llx_user ADD COLUMN openid varchar(255);
-- Enhance Withdrawal module -- Enhance Withdrawal module
INSERT INTO llx_action_def (rowid,code,titre,description,objet_type) values (7,'NOTIFY_TRN_WITHDRAW','Transmission prélèvement','Executed when a withdrawal is transmited','withdraw'); INSERT INTO llx_action_def (rowid,code,titre,description,objet_type) values (7,'NOTIFY_TRN_WITHDRAW','Transmit withdraw','Executed when a withdrawal is transmited','withdraw');
INSERT INTO llx_action_def (rowid,code,titre,description,objet_type) values (8,'NOTIFY_CRD_WITHDRAW','Créditer prélèvement','Executed when a withdrawal is credited','withdraw'); INSERT INTO llx_action_def (rowid,code,titre,description,objet_type) values (8,'NOTIFY_CRD_WITHDRAW','Credite withdraw','Executed when a withdrawal is credited','withdraw');
INSERT INTO llx_action_def (rowid,code,titre,description,objet_type) values (9,'NOTIFY_EMT_WITHDRAW','Emission prélèvement','Executed when a withdrawal is emited','withdraw'); INSERT INTO llx_action_def (rowid,code,titre,description,objet_type) values (9,'NOTIFY_EMT_WITHDRAW','Emit withdraw','Executed when a withdrawal is emited','withdraw');
ALTER TABLE llx_prelevement_notifications MODIFY action varchar(32); ALTER TABLE llx_prelevement_notifications MODIFY action varchar(32);
......
...@@ -28,8 +28,12 @@ create table llx_product ...@@ -28,8 +28,12 @@ create table llx_product
tms timestamp, tms timestamp,
virtual tinyint DEFAULT 0 NOT NULL, -- Not used. Used by external modules. Value 0 for physical product, 1 for virtual product virtual tinyint DEFAULT 0 NOT NULL, -- Not used. Used by external modules. Value 0 for physical product, 1 for virtual product
fk_parent integer DEFAULT 0, -- Not used. Used by external modules. Virtual product id fk_parent integer DEFAULT 0, -- Not used. Used by external modules. Virtual product id
ref varchar(32) NOT NULL, ref varchar(32) NOT NULL,
entity integer DEFAULT 1 NOT NULL, -- Multi company id entity integer DEFAULT 1 NOT NULL, -- Multi company id
ref_ext varchar(32), -- reference into an external system (not used by dolibarr)
label varchar(255) NOT NULL, label varchar(255) NOT NULL,
description text, description text,
note text, note text,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment