-- 财务应收单单据类型：销售费用应收改为费用销售应收arfin_expense_BT_S且禁用
DELETE FROM T_BAS_BILLTYPE WHERE FID = '580979143756231680';
INSERT INTO T_BAS_BILLTYPE(FID, FNUMBER, FBILLFORMID, FISDEFAULT, FBILLCODERULEID, FCREATORID, FCREATETIME, FMODIFIERID, FMODIFYTIME, FCONTROLPRINTCOUNT, FMAXPRINTCOUNT, FPRINTAFTERAUDIT, FDOCUMENTSTATUS, FDEFPRINTTEMPLATE, FISSYSPRESET, FPARASETTINGXML, FLAYOUTSOLUTION, FDEFWNREPORTTEMPLATE, FSTATUS, FENABLE, FBILLINITSETTING, FMASTERID ) VALUES('580979143756231680', 'arfin_expense_BT_S', 'ar_finarbill', '0', ' ', '1', {ts'2018-08-08 18:08:08'}, '1', {ts'2018-08-08 18:08:08'}, '0', 1, '1', '0', ' ', '0', 'null', 'null', 'null', 'C', '0', ' ', '580979143756231680' );
DELETE FROM T_BAS_BILLTYPE_L WHERE FID = '580979143756231680';
INSERT INTO T_BAS_BILLTYPE_L(FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION ) VALUES('/TBDF1GT80OP', '580979143756231680', 'zh_CN', '费用销售应收', '费用销售应收' );
INSERT INTO T_BAS_BILLTYPE_L(FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION ) VALUES('/TBDF1GT80OQ', '580979143756231680', 'zh_TW', '費用銷售應收', '費用銷售應收' );
DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FID = '580979143756231680';
INSERT INTO T_BAS_BILLTYPEFLDCTL(FENTRYID, FID, FSEQ, FFIELDKEY, FMUSTINPUT, FDEFAULTVALUE, FDEFAULTFUNCNAME, FDEFAULTVALUETYPE, FDEFAULTFUNCID, FDEFAULTFUNCPARAM, FFIELDELEMENTTYPE, FENABLED, FEDITENABLED, FSYSMUSTINPUT, FSUBMITENABLED, FAUDITENABLED, FVINIT, FVNEW, FVEDIT, FVVIEW, FVSUBMIT, FVAUDIT, FISDELETED ) VALUES('600565711236006912', '580979143756231680', 1, 'e_material', '1', ' ', ' ', 0, 0, ' ', 0, '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '0' );
INSERT INTO T_BAS_BILLTYPEFLDCTL(FENTRYID, FID, FSEQ, FFIELDKEY, FMUSTINPUT, FDEFAULTVALUE, FDEFAULTFUNCNAME, FDEFAULTVALUETYPE, FDEFAULTFUNCID, FDEFAULTFUNCPARAM, FFIELDELEMENTTYPE, FENABLED, FEDITENABLED, FSYSMUSTINPUT, FSUBMITENABLED, FAUDITENABLED, FVINIT, FVNEW, FVEDIT, FVVIEW, FVSUBMIT, FVAUDIT, FISDELETED ) VALUES('600565711236006913', '580979143756231680', 2, 'e_expenseitem', '0', ' ', ' ', 0, 0, ' ', 0, '0', '0', '0', '1', '1', '1', '0', '0', '0', '0', '0', '0' );
INSERT INTO T_BAS_BILLTYPEFLDCTL(FENTRYID, FID, FSEQ, FFIELDKEY, FMUSTINPUT, FDEFAULTVALUE, FDEFAULTFUNCNAME, FDEFAULTVALUETYPE, FDEFAULTFUNCID, FDEFAULTFUNCPARAM, FFIELDELEMENTTYPE, FENABLED, FEDITENABLED, FSYSMUSTINPUT, FSUBMITENABLED, FAUDITENABLED, FVINIT, FVNEW, FVEDIT, FVVIEW, FVSUBMIT, FVAUDIT, FISDELETED ) VALUES('600565711236006914', '580979143756231680', 3, 'asstacttype', '1', ' ', ' ', 0, 0, ' ', 0, '1', '1', '0', '1', '1', '1', '0', '0', '0', '0', '0', '0' );
INSERT INTO T_BAS_BILLTYPEFLDCTL(FENTRYID, FID, FSEQ, FFIELDKEY, FMUSTINPUT, FDEFAULTVALUE, FDEFAULTFUNCNAME, FDEFAULTVALUETYPE, FDEFAULTFUNCID, FDEFAULTFUNCPARAM, FFIELDELEMENTTYPE, FENABLED, FEDITENABLED, FSYSMUSTINPUT, FSUBMITENABLED, FAUDITENABLED, FVINIT, FVNEW, FVEDIT, FVVIEW, FVSUBMIT, FVAUDIT, FISDELETED ) VALUES('600565711236006915', '580979143756231680', 4, 'e_spectype', '0', ' ', ' ', 0, 0, ' ', 0, '1', '1', '0', '1', '1', '1', '0', '0', '0', '0', '0', '0' );