--采购入库单预制农产品单据类型 农产品采购入库单
DELETE FROM T_BAS_BILLTYPE WHERE FID = 1433925832400781312;
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 (1433925832400781312,'0','0',NULL,'0',' ','0',1433925832400781312,'C','im_purinbill',1,' ',' ','im_PurInBill_FARM_BT_S',{ts'2022-06-02  00:00:00'},'1605HFGT66OJ',NULL,1178896627121968128,'1',{ts'2022-06-02  00:00:00'},'1',1178896627121968128); 

DELETE FROM T_BAS_BILLTYPE_l WHERE FPKID = '2H3SW/82+O+1';
INSERT INTO T_BAS_BILLTYPE_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1433925832400781312,'2H3SW/82+O+1','zh_CN',' ','农产品采购入库单'); 
DELETE FROM T_BAS_BILLTYPE_l WHERE FPKID = '2H3SW/82+O+2';
INSERT INTO T_BAS_BILLTYPE_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1433925832400781312,'2H3SW/82+O+2','zh_TW',' ','農產品采購入庫單'); 

DELETE FROM t_bas_billtypeparameter WHERE FFORMID = 'im_purinbill' and FBILLTYPEID = 1433925832400781312;
INSERT INTO t_bas_billtypeparameter(FFORMID,FBILLTYPEID,FDATA) VALUES ('im_purinbill',1433925832400781312,'{"_Type_":"bd_billtypeparameter","entryentity":[{"_Type_":"entryentity","biztypenumber":{"number":"110","masterid":422857170485263360,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04L5Q1SU9QWJ","name":"物料类采购","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"04L5Q1SU9QWK","name":"物料類采購","description":"","localeid":"zh_TW"}],"ispreset":true,"name":{"zh_TW":"物料類采購","zh_CN":"物料类采购"},"id":422857170485263360},"ispreset":true,"biztypenumber_id":422857170485263360,"id":0,"isdefault":true,"seq":1},{"_Type_":"entryentity","biztypenumber":{"number":"1101","masterid":688847172015446016,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04L63J41SNHK","name":"物料类采购退货","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"04L63J41SNHL","name":"物料類采購退貨","description":"","localeid":"zh_TW"}],"ispreset":true,"name":{"zh_TW":"物料類采購退貨","zh_CN":"物料类采购退货"},"id":688847172015446016},"ispreset":true,"biztypenumber_id":688847172015446016,"id":0,"isdefault":false,"seq":2},{"_Type_":"entryentity","biztypenumber":{"number":"1102","masterid":688850502762584064,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04L6QTPE/MZ0","name":"物料类采购退补货","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"04L6QTPE/MZ1","name":"物料類采購退補貨","description":"","localeid":"zh_TW"}],"ispreset":true,"name":{"zh_TW":"物料類采購退補貨","zh_CN":"物料类采购退补货"},"id":688850502762584064},"ispreset":true,"biztypenumber_id":688850502762584064,"id":0,"isdefault":false,"seq":3},{"_Type_":"entryentity","biztypenumber":{"number":"1103","masterid":688851487090338816,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04L6Y+F70D3/","name":"物料类采购退换货","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"04L6Y+F70D30","name":"物料類采購退換貨","description":"","localeid":"zh_TW"}],"ispreset":true,"name":{"zh_TW":"物料類采購退換貨","zh_CN":"物料类采购退换货"},"id":688851487090338816},"ispreset":true,"biztypenumber_id":688851487090338816,"id":0,"isdefault":false,"seq":4}]}'); 

--采购收货单预制农产品单据类型 农产品采购收货单
DELETE FROM T_BAS_BILLTYPE WHERE FID = 1436922780686802944;
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 (1436922780686802944,'0','0',NULL,'0',' ','0',1436922780686802944,'C','im_purreceivebill',1,' ',' ','im_PurRecBill_FARM_BT_S',{ts'2022-06-06  00:00:00'},'/Z43CHZ/D7C8',NULL,1178896627121968128,'1',{ts'2022-06-06  00:00:00'},'1',1178896627121968128); 

DELETE FROM T_BAS_BILLTYPE_l WHERE FPKID = '2HH4UPZOT5JI';
INSERT INTO T_BAS_BILLTYPE_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1436922780686802944,'2HH4UPZOT5JI','zh_CN',' ','农产品采购收货单'); 
DELETE FROM T_BAS_BILLTYPE_l WHERE FPKID = '2HH4UPZOT5JJ';
INSERT INTO T_BAS_BILLTYPE_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1436922780686802944,'2HH4UPZOT5JJ','zh_TW',' ','農產品采購收貨單'); 

DELETE FROM t_bas_billtypeparameter WHERE FFORMID = 'im_purreceivebill' and FBILLTYPEID = 1436922780686802944;
INSERT INTO t_bas_billtypeparameter(FFORMID,FBILLTYPEID,FDATA) VALUES ('im_purreceivebill',1436922780686802944,'{"_Type_":"bd_billtypeparameter","entryentity":[{"_Type_":"entryentity","biztypenumber":{"number":"110","masterid":422857170485263360,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04L5Q1SU9QWJ","name":"物料类采购","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"04L5Q1SU9QWK","name":"物料類采購","description":"","localeid":"zh_TW"}],"ispreset":true,"name":{"zh_TW":"物料類采購","zh_CN":"物料类采购"},"id":422857170485263360},"ispreset":true,"biztypenumber_id":422857170485263360,"id":0,"isdefault":true,"seq":1},{"_Type_":"entryentity","biztypenumber":{"number":"1101","masterid":688847172015446016,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04L63J41SNHK","name":"物料类采购退货","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"04L63J41SNHL","name":"物料類采購退貨","description":"","localeid":"zh_TW"}],"ispreset":true,"name":{"zh_TW":"物料類采購退貨","zh_CN":"物料类采购退货"},"id":688847172015446016},"ispreset":true,"biztypenumber_id":688847172015446016,"id":0,"isdefault":false,"seq":2},{"_Type_":"entryentity","biztypenumber":{"number":"1102","masterid":688850502762584064,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04L6QTPE/MZ0","name":"物料类采购退补货","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"04L6QTPE/MZ1","name":"物料類采購退補貨","description":"","localeid":"zh_TW"}],"ispreset":true,"name":{"zh_TW":"物料類采購退補貨","zh_CN":"物料类采购退补货"},"id":688850502762584064},"ispreset":true,"biztypenumber_id":688850502762584064,"id":0,"isdefault":false,"seq":3},{"_Type_":"entryentity","biztypenumber":{"number":"1103","masterid":688851487090338816,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04L6Y+F70D3/","name":"物料类采购退换货","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"04L6Y+F70D30","name":"物料類采購退換貨","description":"","localeid":"zh_TW"}],"ispreset":true,"name":{"zh_TW":"物料類采購退換貨","zh_CN":"物料类采购退换货"},"id":688851487090338816},"ispreset":true,"biztypenumber_id":688851487090338816,"id":0,"isdefault":false,"seq":4}]}');
