NEW Add payment reference - SQL Part (#31553)

* NEW Add payment reference - SQL Part

* NEW Add payment reference - SQL Part

* NEW Add payment reference - SQL Part

* Update llx_facture.sql

* Update llx_societe.sql
This commit is contained in:
sonikf 2024-10-26 14:07:33 +03:00 committed by GitHub
parent 0d7523d928
commit 57fa017591
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View File

@ -282,3 +282,5 @@ CREATE TABLE llx_product_customer_price_extrafields (
) ENGINE=innodb;
ALTER TABLE llx_product_customer_price_extrafields ADD UNIQUE INDEX uk_product_customer_price_extrafields (fk_object);
ALTER TABLE llx_facture ADD COLUMN payment_reference varchar(25) AFTER date_lim_reglement;
ALTER TABLE llx_societe ADD COLUMN tp_payment_reference varchar(25) AFTER code_fournisseur;

View File

@ -79,7 +79,7 @@ create table llx_facture
fk_cond_reglement integer DEFAULT 1 NOT NULL, -- payment term (30 days, end of month...)
fk_mode_reglement integer, -- payment mode (Virement, Prelevement)
date_lim_reglement date, -- due date
payment_reference varchar(25), -- SEPA and any other national or custom payment id
note_private text,
note_public text,
model_pdf varchar(255),

View File

@ -38,7 +38,7 @@ create table llx_societe
code_client varchar(24), -- code client
code_fournisseur varchar(24), -- code fournisseur
tp_payment_reference varchar(25), -- SEPA and any other national or custom payment id
accountancy_code_customer_general varchar(32) DEFAULT NULL, -- customer accountancy general account
code_compta varchar(32), -- customer accountancy auxiliary account
accountancy_code_supplier_general varchar(32) DEFAULT NULL, -- supplier accountancy general account