--销售报价单标准单据类型

DELETE FROM t_bas_billtype WHERE FID = 982569907516356608;
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 (982569907516356608,'0','0',NULL,'1',' ','0',982569907516356608,'C','sm_quotationbill',1,' ',' ','sm_QuotationBill_STD_BT_S',{ts'2018-08-08 18:08:00'},'11L8EKISI9IY',NULL,1,'1',{ts'2018-08-08 18:08:00'},'1',1); 


--销售报价单标准单据类型多语言

DELETE FROM t_bas_billtype_l WHERE FPKID = '11OCZ2PI1XJF';
INSERT INTO t_bas_billtype_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (982569907516356608,'11OCZ2PI1XJF','zh_CN',' ','标准销售报价单'); 
DELETE FROM t_bas_billtype_l WHERE FPKID = '11OCZ2PI1XJG';
INSERT INTO t_bas_billtype_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (982569907516356608,'11OCZ2PI1XJG','zh_TW',' ','標準銷售報價單'); 

--销售报价单标准单据类型单据参数

DELETE FROM t_bas_billtypeparameter WHERE FFORMID = 'sm_quotationbill' and FBILLTYPEID = 982569907516356608;
INSERT INTO t_bas_billtypeparameter(FFORMID,FBILLTYPEID,FDATA) VALUES ('sm_quotationbill',982569907516356608,'{"biztype":{"number":"210","masterid":422876630176775168,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04L7BOJGZ+RY","name":"物料类销售","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"04L7BOJGZ+RZ","name":"物料類銷售","description":"","localeid":"zh_TW"}],"name":{"zh_TW":"物料類銷售","zh_CN":"物料类销售"},"id":422876630176775168},"_Type_":"sm_billtypeparam","biztype_id":422876630176775168}'); 

--销售报价单服务单据类型


DELETE FROM t_bas_billtype WHERE FID = 982570505515040768;
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 (982570505515040768,'0','0',NULL,'0',' ','0',982570505515040768,'C','sm_quotationbill',1,' ',' ','sm_QuotationBill_SERV_BT_S',{ts'2018-08-08 18:08:00'},'11L8EKISI9IY',NULL,1,'1',{ts'2018-08-08 18:08:00'},'1',1); 



--销售报价单服务单据类型多语言


DELETE FROM t_bas_billtype_l WHERE FPKID = '11OD1FN50ZVY';
INSERT INTO t_bas_billtype_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (982570505515040768,'11OD1FN50ZVY','zh_CN',' ','服务销售报价单'); 
DELETE FROM t_bas_billtype_l WHERE FPKID = '11OD1FN50ZVZ';
INSERT INTO t_bas_billtype_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (982570505515040768,'11OD1FN50ZVZ','zh_TW',' ','服務銷售報價單'); 



--销售报价单服务单据类型单据参数


DELETE FROM t_bas_billtypeparameter WHERE FFORMID = 'sm_quotationbill' and FBILLTYPEID = 982570505515040768;
INSERT INTO t_bas_billtypeparameter(FFORMID,FBILLTYPEID,FDATA) VALUES ('sm_quotationbill',982570505515040768,'{"biztype":{"number":"212","masterid":691917066026067968,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"04ZWPTGE397L","name":"服务类销售","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"04ZWPTGE397M","name":"服務類銷售","description":"","localeid":"zh_TW"}],"name":{"zh_TW":"服務類銷售","zh_CN":"服务类销售"},"id":691917066026067968},"_Type_":"sm_billtypeparam","biztype_id":691917066026067968,"bizcategory":"FW"}'); 
