-- 暂估应收单单据类型：物料/费用项目必录
DELETE FROM T_BAS_BILLTYPE WHERE FID = '665765867887304704';
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('665765867887304704', 'ar_busbill_other_BT_S', 'ar_busbill', '0', ' ', '1', {ts'2018-08-08 18:08:08'}, '1', {ts'2018-08-08 18:08:08'}, '0', 1, '1', '0', ' ', '0', 'null', '01DPPLJQ7A+H', 'null', 'C', '1', ' ', '665765867887304704' );
DELETE FROM T_BAS_BILLTYPE_L WHERE FID = '665765867887304704';
INSERT INTO T_BAS_BILLTYPE_L(FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION ) VALUES('01RLGGFN3KIL', '665765867887304704', 'zh_CN', '其他应收暂估', ' ' );
INSERT INTO T_BAS_BILLTYPE_L(FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION ) VALUES('01RLGGFN3KIM', '665765867887304704', 'zh_TW', '其他應收暫估', ' ' );
DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FID = '665765867887304704';
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('678731649227176960', '665765867887304704', 1, 'e_spectype', '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('678731649227176961', '665765867887304704', 2, 'e_material', '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('678731649227176962', '665765867887304704', 3, 'e_expenseitem', '1', ' ', ' ', 0, 0, ' ', 0, '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '0' );


DELETE FROM T_BAS_BILLTYPE WHERE FID = '676495785168226304';
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('676495785168226304', 'ar_busbill_standard_BT_S', 'ar_busbill', '1', ' ', '1', {ts'2018-08-08 18:08:08'}, '1', {ts'2018-08-08 18:08:08'}, '0', 1, '1', '0', ' ', '0', 'null', '01DPPLJQ7A+H', 'null', 'C', '1', ' ', '676495785168226304' );
DELETE FROM T_BAS_BILLTYPE_L WHERE FID = '676495785168226304';
INSERT INTO T_BAS_BILLTYPE_L(FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION ) VALUES('032/A6OO2C1Y', '676495785168226304', 'zh_CN', '标准销售暂估', ' ' );
INSERT INTO T_BAS_BILLTYPE_L(FPKID, FID, FLOCALEID, FNAME, FDESCRIPTION ) VALUES('032/A6OO2C1Z', '676495785168226304', 'zh_TW', '標準銷售暫估', ' ' );
DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FID = '676495785168226304';
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('678734934810052608', '676495785168226304', 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('678734934810052609', '676495785168226304', 2, 'asstacttype', '1', ' ', ' ', 0, 0, ' ', 0, '1', '1', '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('678734934810052610', '676495785168226304', 3, 'e_measureunit', '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('678734934810052611', '676495785168226304', 4, 'e_expenseitem', '0', ' ', ' ', 0, 0, ' ', 0, '0', '0', '0', '1', '1', '1', '0', '0', '0', '0', '0', '0' );

