狂野 : 


--MRP功能模块中建立的对应表约束:

alter table spa

add constraint uqe unique(idx, spadate)

;

alter table spad

add Constraint fk_spad_invoice foreign key(listpid) references invoice(id)

;

alter table spad

add Constraint fk_spad_invoiceitem foreign key(listid) references invoiceitem(id)

;

alter table invoiceitem

add qtyli float

;

alter table billitem

add qtyli float

;

alter table invoiceitem

add qtylo float

;

alter table billitem

add qtylo float

;

--采购建议明细单所对应的【入库\领料】单据前缀代码存入MySetting表中对应的键:

insert into mysetting(vname,userid,shortsetting) values('MRP.spa.btype','','')


Copyright © 2000-2016 粤ICP05021785号
地址:广州市天河区员村二横路8号全丰商业大厦808室 邮编:510600