2
0
forked from Wavyzz/dolibarr

WIP Complete module MRP

This commit is contained in:
Laurent Destailleur
2019-12-08 23:45:06 +01:00
parent a6ca56a7e1
commit 2b5866aca2
7 changed files with 212 additions and 10 deletions

View File

@@ -21,6 +21,8 @@ CREATE TABLE llx_mrp_production(
fk_product integer NOT NULL,
fk_warehouse integer,
qty integer NOT NULL DEFAULT 1,
qty_frozen smallint DEFAULT 0,
disable_stock_change smallint DEFAULT 0,
batch varchar(30),
role varchar(10), -- 'toconsume' or 'toproduce' (initialized at MO creation), 'consumed' or 'produced' (added after MO validation)
fk_mrp_production integer, -- if role = 'consumed', id of line with role 'toconsume', if role = 'produced' id of line with role 'toproduce'