DELETE FROM T_BAS_BILLTYPE WHERE FID = 580977310207850496;
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 (580977310207850496,'0','0','null','1',' ','0',580977310207850496,'C','ar_finarbill',1,' ',' ','arfin_standard_BT_S',{ts'2018-08-08  18:08:08'},'/BFWSPAO6/SQ','null',76039485,'1',{ts'2019-11-14  14:02:07'},'1',1); 
DELETE FROM T_BAS_BILLTYPE_L WHERE FPKID = '/TBD2PEL7B8A';
INSERT INTO T_BAS_BILLTYPE_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (580977310207850496,'/TBD2PEL7B8A','zh_CN','标准销售应收','标准销售应收'); 
DELETE FROM T_BAS_BILLTYPE_L WHERE FPKID = '/TBD2PEL7B8B';
INSERT INTO T_BAS_BILLTYPE_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (580977310207850496,'/TBD2PEL7B8B','zh_TW','標準銷售應收','標準銷售應收'); 
DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FID = 580977310207850496;
DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 585344364285304832;
INSERT INTO T_BAS_BILLTYPEFLDCTL(FID,FVVIEW,FISDELETED,FENTRYID,FSYSMUSTINPUT,FMUSTINPUT,FSUBMITENABLED,FEDITENABLED,FDEFAULTVALUETYPE,FAUDITENABLED,FDEFAULTFUNCNAME,FVINIT,FVSUBMIT,FVNEW,FFIELDELEMENTTYPE,FVEDIT,FENABLED,FFIELDKEY,FSEQ,FDEFAULTVALUE,FDEFAULTFUNCPARAM,FVAUDIT,FDEFAULTFUNCID) VALUES (580977310207850496,'1','0',585344364285304832,'0','1','1','0',0,'1',' ','1','1','1',0,'1','0','e_material',1,' ',' ','1',0); 
DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 585344364285304833;
INSERT INTO T_BAS_BILLTYPEFLDCTL(FID,FVVIEW,FISDELETED,FENTRYID,FSYSMUSTINPUT,FMUSTINPUT,FSUBMITENABLED,FEDITENABLED,FDEFAULTVALUETYPE,FAUDITENABLED,FDEFAULTFUNCNAME,FVINIT,FVSUBMIT,FVNEW,FFIELDELEMENTTYPE,FVEDIT,FENABLED,FFIELDKEY,FSEQ,FDEFAULTVALUE,FDEFAULTFUNCPARAM,FVAUDIT,FDEFAULTFUNCID) VALUES (580977310207850496,'1','0',585344364285304833,'0','1','1','0',0,'1',' ','1','1','1',0,'1','0','e_measureunit',2,' ',' ','1',0); 
DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 585344364285304834;
INSERT INTO T_BAS_BILLTYPEFLDCTL(FID,FVVIEW,FISDELETED,FENTRYID,FSYSMUSTINPUT,FMUSTINPUT,FSUBMITENABLED,FEDITENABLED,FDEFAULTVALUETYPE,FAUDITENABLED,FDEFAULTFUNCNAME,FVINIT,FVSUBMIT,FVNEW,FFIELDELEMENTTYPE,FVEDIT,FENABLED,FFIELDKEY,FSEQ,FDEFAULTVALUE,FDEFAULTFUNCPARAM,FVAUDIT,FDEFAULTFUNCID) VALUES (580977310207850496,'0','0',585344364285304834,'0','0','1','0',0,'1',' ','1','0','0',0,'0','0','e_expenseitem',3,' ',' ','0',0); 
DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 585344364285304835;
INSERT INTO T_BAS_BILLTYPEFLDCTL(FID,FVVIEW,FISDELETED,FENTRYID,FSYSMUSTINPUT,FMUSTINPUT,FSUBMITENABLED,FEDITENABLED,FDEFAULTVALUETYPE,FAUDITENABLED,FDEFAULTFUNCNAME,FVINIT,FVSUBMIT,FVNEW,FFIELDELEMENTTYPE,FVEDIT,FENABLED,FFIELDKEY,FSEQ,FDEFAULTVALUE,FDEFAULTFUNCPARAM,FVAUDIT,FDEFAULTFUNCID) VALUES (580977310207850496,'0','0',585344364285304835,'0','1','1','1',0,'1',' ','1','0','0',0,'0','1','asstacttype',4,' ',' ','0',0); 
DELETE FROM T_BAS_BILLTYPEWS WHERE FID = 580977310207850496;

