NEW: Generate documents on product batch (SQL)
This commit is contained in:
parent
066e041783
commit
99427dcc16
@ -373,4 +373,7 @@ UPDATE llx_c_country SET numeric_code = '262' WHERE code_iso = 'DJI';
|
||||
UPDATE llx_c_country SET numeric_code = '894' WHERE code_iso = 'ZMB';
|
||||
UPDATE llx_c_country SET numeric_code = '716' WHERE code_iso = 'ZWE';
|
||||
|
||||
-- Generate documents on product batch
|
||||
ALTER TABLE llx_product_lot ADD COLUMN model_pdf varchar(255) AFTER scrapping_date;
|
||||
ALTER TABLE llx_product_lot ADD COLUMN last_main_doc varchar(255) AFTER model_pdf;
|
||||
|
||||
|
||||
@ -31,6 +31,8 @@ CREATE TABLE llx_product_lot (
|
||||
scrapping_date datetime NULL, -- date when we decided to scrap all products of this lot
|
||||
barcode varchar(180) DEFAULT NULL, -- barcode
|
||||
fk_barcode_type integer DEFAULT NULL, -- barcode type
|
||||
model_pdf varchar(255),
|
||||
last_main_doc varchar(255), -- relative filepath+filename of last main generated document
|
||||
datec datetime,
|
||||
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
fk_user_creat integer,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user