
-------------- 业务类型添加关联单据，普通领料：领料申请单、领料出库单；普通领料退回：领料出库单；VMI领料：领料申请单、领料出库单；VMI领料退回：领料出库单；生成入库：生产入库单；生成入库退回：生成入库单； begin ----------------

DELETE FROM t_sbd_biztypebillentity WHERE FENTRYID = 699854652153401344;
INSERT INTO t_sbd_biztypebillentity(FID,FENTRYID,FSEQ,FBILLFORM) VALUES (688863581240093696,699854652153401344,1,'im_materialreqbill'); 
DELETE FROM t_sbd_biztypebillentity WHERE FENTRYID = 699854652153401345;
INSERT INTO t_sbd_biztypebillentity(FID,FENTRYID,FSEQ,FBILLFORM) VALUES (688863581240093696,699854652153401345,2,'im_materialreqoutbill'); 
DELETE FROM t_sbd_biztypebillentity WHERE FENTRYID = 699854874954829824;
INSERT INTO t_sbd_biztypebillentity(FID,FENTRYID,FSEQ,FBILLFORM) VALUES (688864102566811648,699854874954829824,1,'im_materialreqoutbill'); 
DELETE FROM t_sbd_biztypebillentity WHERE FENTRYID = 699855347258535936;
INSERT INTO t_sbd_biztypebillentity(FID,FENTRYID,FSEQ,FBILLFORM) VALUES (688864427902299136,699855347258535936,1,'im_materialreqbill'); 
DELETE FROM t_sbd_biztypebillentity WHERE FENTRYID = 699855347258535937;
INSERT INTO t_sbd_biztypebillentity(FID,FENTRYID,FSEQ,FBILLFORM) VALUES (688864427902299136,699855347258535937,2,'im_materialreqoutbill'); 
DELETE FROM t_sbd_biztypebillentity WHERE FENTRYID = 699855530465734656;
INSERT INTO t_sbd_biztypebillentity(FID,FENTRYID,FSEQ,FBILLFORM) VALUES (688864617560337408,699855530465734656,1,'im_materialreqoutbill'); 
DELETE FROM t_sbd_biztypebillentity WHERE FENTRYID = 697686378867853312;
INSERT INTO t_sbd_biztypebillentity(FID,FENTRYID,FSEQ,FBILLFORM) VALUES (688864881516276736,697686378867853312,1,'im_productinbill'); 
DELETE FROM t_sbd_biztypebillentity WHERE FENTRYID = 697686550255503360;
INSERT INTO t_sbd_biztypebillentity(FID,FENTRYID,FSEQ,FBILLFORM) VALUES (688865107706702848,697686550255503360,1,'im_productinbill'); 


-------------- 业务类型添加关联单据，普通领料：领料申请单、领料出库单；普通领料退回：领料出库单；VMI领料：领料申请单、领料出库单；VMI领料退回：领料出库单；生成入库：生产入库单；生成入库退回：生成入库单； end ----------------


