-- 产品委外收货 单据类型
DELETE FROM T_BAS_BILLTYPE WHERE FID = 1323202784165937152;
INSERT INTO T_BAS_BILLTYPE(FID,FISSYSPRESET,FDOCUMENTSTATUS,FDEFWNREPORTTEMPLATE,FISDEFAULT,FDEFPRINTTEMPLATE,FCONTROLPRINTCOUNT,FMASTERID,FSTATUS,FBILLFORMID,FMAXPRINTCOUNT,FBILLCODERULEID,FBILLINITSETTING,FNUMBER,FCREATETIME,FLAYOUTSOLUTION,FPARASETTINGXML,FMODIFIERID,FENABLE,FMODIFYTIME,FPRINTAFTERAUDIT,FCREATORID) VALUES (1323202784165937152,'0','0',NULL,'0',' ','0',1323202784165937152,'C','im_purreceivebill',1,' ',' ','im_mdc_purreceivebill_BT_S',{ts'2021-12-31  00:00:00'},'24BJYC=LQ7=+',NULL,75947252,'1',{ts'2021-12-31  00:00:00'},'1',75947252); 

DELETE FROM T_BAS_BILLTYPE_l WHERE FPKID = '24IAR0RG6X6E';
INSERT INTO T_BAS_BILLTYPE_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1323202784165937152,'24IAR0RG6X6E','zh_CN',' ','产品委外收货'); 
DELETE FROM T_BAS_BILLTYPE_l WHERE FPKID = '24IAR0RG6X6F';
INSERT INTO T_BAS_BILLTYPE_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1323202784165937152,'24IAR0RG6X6F','zh_TW',' ','產品委外收貨'); 

DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1323205455031615488;
INSERT INTO T_BAS_BILLTYPEFLDCTL(FID,FVVIEW,FISDELETED,FENTRYID,FSYSMUSTINPUT,FMUSTINPUT,FSUBMITENABLED,FEDITENABLED,FAUDITENABLED,FVINIT,FVSUBMIT,FVNEW,FFIELDELEMENTTYPE,FVEDIT,FENABLED,FFIELDKEY,FSEQ,FDEFAULTVALUE,FDEFAULTFUNCPARAM,FVAUDIT) VALUES (1323202784165937152,'1','0',1323205455031615488,'0','1','1','1','1','1','1','1',0,'1','0','producttype',1,' ',' ','1'); 

DELETE FROM t_bas_billtypeparameter WHERE FFORMID = 'im_purreceivebill' and FBILLTYPEID = 1323202784165937152;
INSERT INTO t_bas_billtypeparameter(FFORMID,FBILLTYPEID,FDATA) VALUES ('im_purreceivebill',1323202784165937152,'{"_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":"產品委外","zh_CN":"产品委外"},"id":1002795213917594624},"ispreset":true,"biztypenumber_id":1002795213917594624,"id":0,"isdefault":true,"seq":1},{"_Type_":"entryentity","biztypenumber":{"number":"WX1101","masterid":1006426561370713088,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"14LOG6R=TVYF","name":"产品委外退货","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"14LOG6R=TVYG","name":"產品委外退貨","description":"","localeid":"zh_TW"}],"ispreset":true,"name":{"zh_TW":"產品委外退貨","zh_CN":"产品委外退货"},"id":1006426561370713088},"ispreset":true,"biztypenumber_id":1006426561370713088,"id":0,"isdefault":false,"seq":2}]}'); 
