--销售订单单据类型
DELETE FROM t_bas_billtype WHERE FID = 939764363726684160;
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 (939764363726684160,'0','0',NULL,'0',' ','0',939764363726684160,'C','sm_salorder',1,' ',' ','sm_SalesOrder_SERV_BT_S', {ts'2018-08-08 18:08:00'} ,'/S6F8QA39CS6',NULL,1,'1', {ts'2018-08-08 18:08:00'} ,'1',1); 

--销售订单单据类型多语言
DELETE FROM t_bas_billtype_l WHERE FPKID = '0YE=XUB0LL4S';
INSERT INTO t_bas_billtype_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (939764363726684160,'0YE=XUB0LL4S','zh_CN',' ','服务销售订单'); 
DELETE FROM t_bas_billtype_l WHERE FPKID = '0YE=XUB0LL4T';
INSERT INTO t_bas_billtype_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (939764363726684160,'0YE=XUB0LL4T','zh_TW',' ','服務銷售訂單'); 

--单据参数
DELETE FROM t_bas_billtypeparameter WHERE FFORMID = 'sm_salorder' and FBILLTYPEID = 939764363726684160;
INSERT INTO t_bas_billtypeparameter(FFORMID,FBILLTYPEID,FDATA) VALUES ('sm_salorder',939764363726684160,'{"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"}'); 
