--销售订单变更单服务类单据类型
DELETE FROM t_bas_billtype WHERE FID = 951931982932119552;
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 (951931982932119552,'0','0',NULL,'0',' ','0',951931982932119552,'C','sm_xsalorder',1,' ',' ','sm_XSalesOrder_SERV_BT_S',{ts'2018-08-08 18:08:00'},'03X7S4BXKAV5',NULL,1,'1',{ts'2018-08-08 18:08:00'},'1',1); 

-- 服务销售变更单单据类型多语言
DELETE FROM t_bas_billtype_l WHERE FPKID = '0ZXLD1EP0FXZ';
INSERT INTO t_bas_billtype_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (951931982932119552,'0ZXLD1EP0FXZ','zh_CN',' ','服务销售订单变更单'); 
DELETE FROM t_bas_billtype_l WHERE FPKID = '0ZXLD1EP0FY+';
INSERT INTO t_bas_billtype_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (951931982932119552,'0ZXLD1EP0FY+','zh_TW',' ','服務銷售訂單變更單'); 


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

