DELETE FROM T_BAS_BILLTYPE WHERE FID = 1578872260930832384;
INSERT INTO T_BAS_BILLTYPE(FID,FISDEFAULT,FDEFPRINTTEMPLATE,FCONTROLPRINTCOUNT,FMASTERID,FSTATUS,FMAXPRINTCOUNT,FBILLFORMID,FBILLINITSETTING,FNUMBER,FCREATETIME,FLAYOUTSOLUTION,FMODIFIERID,FENABLE,FMODIFYTIME,FPRINTAFTERAUDIT,FCREATORID) VALUES (1578872260930832384,'0',' ','0',1578872260930832384,'C',1,'im_mdc_mftomreqapplybill',' ','im_mdc_mftreqapplybill_BT_S',{ts'2022-12-19  00:00:00'},'2YY45SSPLPI8',1627603554673977344,'1',{ts'2023-08-16  00:00:00'},'1',1575243231308815360); 
DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FID = 1578872260930832384;
INSERT INTO T_BAS_BILLTYPEFLDCTL(FID,FVVIEW,FISDELETED,FENTRYID,FSYSMUSTINPUT,FMUSTINPUT,FSUBMITENABLED,FEDITENABLED,FAUDITENABLED,FVINIT,FVSUBMIT,FVNEW,FENTITYFIELDKEY,FFIELDELEMENTTYPE,FVEDIT,FENABLED,FFIELDKEY,FSEQ,FDEFAULTVALUE,FDEFAULTFUNCPARAM,FVAUDIT) VALUES (1578872260930832384,'1','0',1752807514090505216,'0','1','1','1','1','1','1','1','srcbilltype',0,'1','1','srcbilltype',1,' ',' ','1'); 
INSERT INTO T_BAS_BILLTYPEFLDCTL(FID,FVVIEW,FISDELETED,FENTRYID,FSYSMUSTINPUT,FMUSTINPUT,FSUBMITENABLED,FEDITENABLED,FAUDITENABLED,FVINIT,FVSUBMIT,FVNEW,FENTITYFIELDKEY,FFIELDELEMENTTYPE,FVEDIT,FENABLED,FFIELDKEY,FSEQ,FDEFAULTVALUE,FDEFAULTFUNCPARAM,FVAUDIT) VALUES (1578872260930832384,'1','0',1752807514090505217,'0','0','1','1','1','1','1','1','biztype',0,'1','1','biztype',2,'320',' ','1'); 
DELETE FROM T_BAS_BILLTYPE_l WHERE FPKID = '2YY7H4XV/GEV';
INSERT INTO T_BAS_BILLTYPE_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1578872260930832384,'2YY7H4XV/GEV','zh_CN',' ','生产领料申请'); 
DELETE FROM T_BAS_BILLTYPE_l WHERE FPKID = '2YY7H4XV/GEW';
INSERT INTO T_BAS_BILLTYPE_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1578872260930832384,'2YY7H4XV/GEW','zh_TW',' ','生產領料申請'); 
DELETE FROM T_BAS_BILLTYPEPARAMETER WHERE FFORMID = 'im_mdc_mftomreqapplybill' and FBILLTYPEID = 1578872260930832384;
INSERT INTO T_BAS_BILLTYPEPARAMETER(FFORMID,FBILLTYPEID,FDATA) VALUES ('im_mdc_mftomreqapplybill',1578872260930832384,'{"_Type_":"bd_billtypeparameter","entryentity":[{"_Type_":"entryentity","biztypenumber":{"number":"320","masterid":688863581240093696,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04L963HQBPS=","name":"普通领料","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"04L963HQBPSA","name":"普通領料","description":"","localeid":"zh_TW"}],"ispreset":true,"name":{"zh_TW":"普通領料","zh_CN":"普通领料"},"id":688863581240093696},"ispreset":false,"biztypenumber_id":688863581240093696,"id":0,"isdefault":true,"seq":1},{"_Type_":"entryentity","biztypenumber":{"number":"323","masterid":688864427902299136,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04L9B=3PMEK=","name":"VMI領料","description":"","localeid":"zh_TW"},{"_Type_":"locale","pkid":"04L9B=3PMEK9","name":"VMI领料","description":"","localeid":"zh_CN"}],"ispreset":true,"name":{"zh_TW":"VMI領料","GLang":"VMI领料","zh_CN":"VMI领料"},"id":688864427902299136},"ispreset":false,"biztypenumber_id":688864427902299136,"id":0,"isdefault":false,"seq":2}]}'); 

DELETE FROM T_BAS_BILLTYPE WHERE FID = 1578872878986692608;
INSERT INTO T_BAS_BILLTYPE(FID,FISDEFAULT,FDEFPRINTTEMPLATE,FCONTROLPRINTCOUNT,FMASTERID,FSTATUS,FMAXPRINTCOUNT,FBILLFORMID,FBILLINITSETTING,FNUMBER,FCREATETIME,FLAYOUTSOLUTION,FMODIFIERID,FENABLE,FMODIFYTIME,FPRINTAFTERAUDIT,FCREATORID) VALUES (1578872878986692608,'0',' ','0',1578872878986692608,'C',1,'im_mdc_mftomreqapplybill',' ','im_mdc_omreqapplybill_BT_S',{ts'2022-12-19  00:00:00'},'2YY4B6DD9IYK',1627603554673977344,'1',{ts'2023-08-16  00:00:00'},'1',1575243231308815360); 
DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FID = 1578872878986692608;
INSERT INTO T_BAS_BILLTYPEFLDCTL(FID,FVVIEW,FISDELETED,FENTRYID,FSYSMUSTINPUT,FMUSTINPUT,FSUBMITENABLED,FEDITENABLED,FAUDITENABLED,FVINIT,FVSUBMIT,FVNEW,FENTITYFIELDKEY,FFIELDELEMENTTYPE,FVEDIT,FENABLED,FFIELDKEY,FSEQ,FDEFAULTVALUE,FDEFAULTFUNCPARAM,FVAUDIT) VALUES (1578872878986692608,'1','0',1752793555841056768,'0','0','1','1','1','1','1','1','srcbilltype',0,'1','1','srcbilltype',1,' ',' ','1'); 
INSERT INTO T_BAS_BILLTYPEFLDCTL(FID,FVVIEW,FISDELETED,FENTRYID,FSYSMUSTINPUT,FMUSTINPUT,FSUBMITENABLED,FEDITENABLED,FAUDITENABLED,FVINIT,FVSUBMIT,FVNEW,FENTITYFIELDKEY,FFIELDELEMENTTYPE,FVEDIT,FENABLED,FFIELDKEY,FSEQ,FDEFAULTVALUE,FDEFAULTFUNCPARAM,FVAUDIT) VALUES (1578872878986692608,'1','0',1752793555841056769,'0','0','1','1','1','1','1','1','biztype',0,'1','1','biztype',2,'WX110',' ','1'); 
DELETE FROM T_BAS_BILLTYPE_l WHERE FPKID = '2YY7LNK1P9HF';
INSERT INTO T_BAS_BILLTYPE_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1578872878986692608,'2YY7LNK1P9HF','zh_CN',' ','委外领料申请'); 
DELETE FROM T_BAS_BILLTYPE_l WHERE FPKID = '2YY7LNK1P9HG';
INSERT INTO T_BAS_BILLTYPE_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1578872878986692608,'2YY7LNK1P9HG','zh_TW',' ','委外領料申請'); 
DELETE FROM T_BAS_BILLTYPEPARAMETER WHERE FFORMID = 'im_mdc_mftomreqapplybill' and FBILLTYPEID = 1578872878986692608;
INSERT INTO T_BAS_BILLTYPEPARAMETER(FFORMID,FBILLTYPEID,FDATA) VALUES ('im_mdc_mftomreqapplybill',1578872878986692608,'{"_Type_":"bd_billtypeparameter","entryentity":[{"_Type_":"entryentity","biztypenumber":{"number":"WX110","masterid":1002795213917594624,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"1459ZJQN6FCU","name":"产品委外","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"1459ZJQN6FCV","name":"產品委外","description":"","localeid":"zh_TW"}],"ispreset":true,"name":{"zh_TW":"產品委外","GLang":"产品委外","zh_CN":"产品委外"},"id":1002795213917594624},"ispreset":false,"biztypenumber_id":1002795213917594624,"id":0,"isdefault":true,"seq":1},{"_Type_":"entryentity","biztypenumber":{"number":"323","masterid":688864427902299136,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04L9B=3PMEK=","name":"VMI領料","description":"","localeid":"zh_TW"},{"_Type_":"locale","pkid":"04L9B=3PMEK9","name":"VMI领料","description":"","localeid":"zh_CN"}],"ispreset":true,"name":{"zh_TW":"VMI領料","GLang":"VMI领料","zh_CN":"VMI领料"},"id":688864427902299136},"ispreset":false,"biztypenumber_id":688864427902299136,"id":0,"isdefault":false,"seq":2}]}'); 
