-- 新增组装单的单据类型 2019-10-30
-- 单据类型
DELETE FROM T_BAS_BILLTYPE WHERE FID = '746855336673225728';
INSERT INTO T_BAS_BILLTYPE (FID, FNUMBER, FBILLFORMID, FISDEFAULT, FBILLCODERULEID, FCREATORID, FCREATETIME, FMODIFIERID, FMODIFYTIME, FCONTROLPRINTCOUNT, FMAXPRINTCOUNT, FPRINTAFTERAUDIT, FDOCUMENTSTATUS, FDEFPRINTTEMPLATE, FISSYSPRESET, FLAYOUTSOLUTION, FDEFWNREPORTTEMPLATE, FSTATUS, FENABLE, FMASTERID, FPARASETTINGXML, FBILLINITSETTING) VALUES (746855336673225728, 'im_Assembbill_BT_S', 'im_assembbill', '1', ' ', 1, {ts '2019-10-28 11:07:47'}, 1, {ts '2019-10-30 14:20:17'}, '0', 1, '1', '0', ' ', '0', '0AG4IW=QSB84', '', 'C', '1', 746855336673225728, '', ' ');

DELETE FROM T_BAS_BILLTYPE_L WHERE FID = '746855336673225728';
INSERT INTO T_BAS_BILLTYPE_L (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION) VALUES ('0AQ2P0TFD0OS', 746855336673225728, 'zh_CN', '标准组装单', ' ');
INSERT INTO T_BAS_BILLTYPE_L (FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION) VALUES ('0AQ2P0TFD0OT', 746855336673225728, 'zh_TW', '標準組裝單', ' ');

DELETE FROM T_BAS_BILLTYPEPARAMETER WHERE FBILLTYPEID = '746855336673225728';
INSERT INTO T_BAS_BILLTYPEPARAMETER (FFORMID, FBILLTYPEID, FDATA) VALUES ('im_assembbill', 746855336673225728, '{"biztype":{"number":"516","masterid":747002196503369728,"_Type_":"bd_biztype","multilanguagetext":[{"_Type_":"locale","pkid":"0AQT4791VD3J","name":"组装业务","description":"","localeid":"zh_CN"},{"_Type_":"locale","pkid":"0AQT4791VD3K","name":"組裝業務","description":"","localeid":"zh_TW"}],"name":{"zh_TW":"組裝業務","zh_CN":"组装业务"},"id":747002196503369728},"_Type_":"im_billtypeparameter","biztype_id":747002196503369728}');
