-- Begin
-- 单据类型
 DELETE FROM T_BAS_BILLTYPE WHERE FID = 1923882790303095808;
 INSERT INTO T_BAS_BILLTYPE (FID,FNUMBER,FSTATUS,FCREATORID,FMODIFIERID,FENABLE,FCREATETIME,FMODIFYTIME,FMASTERID,FISDEFAULT,FCONTROLPRINTCOUNT,FMAXPRINTCOUNT,FPRINTAFTERAUDIT,FDEFPRINTTEMPLATE,FBILLFORMID,FBILLINITSETTING,FLAYOUTSOLUTION) VALUES (1923882790303095808,'im_mdc_propmanuinbill_BT_S','C',1,1,'1',{ts'2018-08-08 18:08:08'},{ts'2018-08-08 18:08:08'},1923882790303095808,'0','0',1,'1',' ','im_mdc_mftmanuinbill',' ','40DH48EELE/X');

-- 字段控制
 DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1926245019606319104;
 INSERT INTO T_BAS_BILLTYPEFLDCTL (FID,FENTRYID,FSEQ,FMUSTINPUT,FFIELDKEY,FENTITYFIELDKEY,FENABLED,FEDITENABLED,FFIELDELEMENTTYPE,FSYSMUSTINPUT,FAUDITENABLED,FVINIT,FVNEW,FVEDIT,FVVIEW,FSUBMITENABLED,FVSUBMIT,FVAUDIT,FISDELETED,FDEFAULTVALUE,FDEFAULTFUNCPARAM) VALUES (1923882790303095808,1926245019606319104,1,'0','tracknumber','tracknumber','0','0',0,'0','1','1','0','0','0','1','0','0','0',' ',' ');
 DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1926245019606319107;
 INSERT INTO T_BAS_BILLTYPEFLDCTL (FID,FENTRYID,FSEQ,FMUSTINPUT,FFIELDKEY,FENTITYFIELDKEY,FENABLED,FEDITENABLED,FFIELDELEMENTTYPE,FSYSMUSTINPUT,FAUDITENABLED,FVINIT,FVNEW,FVEDIT,FVVIEW,FSUBMITENABLED,FVSUBMIT,FVAUDIT,FISDELETED,FDEFAULTVALUE,FDEFAULTFUNCPARAM) VALUES (1923882790303095808,1926245019606319107,4,'0','entrustdept','entrustdept','1','1',0,'0','1','1','0','0','0','1','0','0','0',' ',' ');
 DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1926245019606319105;
 INSERT INTO T_BAS_BILLTYPEFLDCTL (FID,FENTRYID,FSEQ,FMUSTINPUT,FFIELDKEY,FENTITYFIELDKEY,FENABLED,FEDITENABLED,FFIELDELEMENTTYPE,FSYSMUSTINPUT,FAUDITENABLED,FVINIT,FVNEW,FVEDIT,FVVIEW,FSUBMITENABLED,FVSUBMIT,FVAUDIT,FISDELETED,FDEFAULTVALUE,FDEFAULTFUNCPARAM) VALUES (1923882790303095808,1926245019606319105,2,'0','configuredcode','configuredcode','0','0',0,'0','1','1','0','0','0','1','0','0','0',' ',' ');
 DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1926245019606319106;
 INSERT INTO T_BAS_BILLTYPEFLDCTL (FID,FENTRYID,FSEQ,FMUSTINPUT,FFIELDKEY,FENTITYFIELDKEY,FENABLED,FEDITENABLED,FFIELDELEMENTTYPE,FSYSMUSTINPUT,FAUDITENABLED,FVINIT,FVNEW,FVEDIT,FVVIEW,FSUBMITENABLED,FVSUBMIT,FVAUDIT,FISDELETED,FDEFAULTVALUE,FDEFAULTFUNCPARAM) VALUES (1923882790303095808,1926245019606319106,3,'0','project','project','0','0',0,'0','1','1','0','0','0','1','0','0','0',' ',' ');
 DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1926245019606319108;
 INSERT INTO T_BAS_BILLTYPEFLDCTL (FID,FENTRYID,FSEQ,FMUSTINPUT,FFIELDKEY,FENTITYFIELDKEY,FENABLED,FEDITENABLED,FFIELDELEMENTTYPE,FSYSMUSTINPUT,FAUDITENABLED,FVINIT,FVNEW,FVEDIT,FVVIEW,FSUBMITENABLED,FVSUBMIT,FVAUDIT,FISDELETED,FDEFAULTVALUE,FDEFAULTFUNCPARAM) VALUES (1923882790303095808,1926245019606319108,5,'0','productiondomain','productiondomain','1','1',0,'0','1','1','1','1','1','1','1','1','0','E',' ');
 DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1939235467295813635;
 INSERT INTO T_BAS_BILLTYPEFLDCTL (FID,FENTRYID,FSEQ,FMUSTINPUT,FFIELDKEY,FENTITYFIELDKEY,FENABLED,FEDITENABLED,FFIELDELEMENTTYPE,FSYSMUSTINPUT,FAUDITENABLED,FVINIT,FVNEW,FVEDIT,FVVIEW,FSUBMITENABLED,FVSUBMIT,FVAUDIT,FISDELETED,FDEFAULTVALUE,FDEFAULTFUNCPARAM) VALUES (1923882790303095808,1939235467295813635,6,'0','projectname','projectname','0','0',0,'0','1','1','0','0','0','1','0','0','0',' ',' ');
 
-- 单据类型_多语言表
 DELETE FROM T_BAS_BILLTYPE_L WHERE FPKID = '40A48+GN2FF1';
 INSERT INTO T_BAS_BILLTYPE_L (FPKID,FID,FLOCALEID,FNAME,FDESCRIPTION) VALUES ('40A48+GN2FF1',1923882790303095808,'zh_TW','流程完工入庫單',' ');
 DELETE FROM T_BAS_BILLTYPE_L WHERE FPKID = '40A48+GN2FF0';
 INSERT INTO T_BAS_BILLTYPE_L (FPKID,FID,FLOCALEID,FNAME,FDESCRIPTION) VALUES ('40A48+GN2FF0',1923882790303095808,'zh_CN','流程完工入库单',' ');

-- End

-- Begin
-- 单据类型
 DELETE FROM T_BAS_BILLTYPE WHERE FID = 1923886100103879680;
 INSERT INTO T_BAS_BILLTYPE (FID,FNUMBER,FSTATUS,FCREATORID,FMODIFIERID,FENABLE,FCREATETIME,FMODIFYTIME,FMASTERID,FISDEFAULT,FCONTROLPRINTCOUNT,FMAXPRINTCOUNT,FPRINTAFTERAUDIT,FDEFPRINTTEMPLATE,FBILLFORMID,FBILLINITSETTING,FLAYOUTSOLUTION) VALUES (1923886100103879680,'im_mdc_propreturnbill_BT_S','C',1,1,'1',{ts'2018-08-08 18:08:08'},{ts'2018-08-08 18:08:08'},1923886100103879680,'0','0',1,'1',' ','im_mdc_mftreturnbill',' ','40ETPILKIL9A');

-- 字段控制
 DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1926246227456819201;
 INSERT INTO T_BAS_BILLTYPEFLDCTL (FID,FENTRYID,FSEQ,FMUSTINPUT,FFIELDKEY,FENTITYFIELDKEY,FENABLED,FEDITENABLED,FFIELDELEMENTTYPE,FSYSMUSTINPUT,FAUDITENABLED,FVINIT,FVNEW,FVEDIT,FVVIEW,FSUBMITENABLED,FVSUBMIT,FVAUDIT,FISDELETED,FDEFAULTVALUE,FDEFAULTFUNCPARAM) VALUES (1923886100103879680,1926246227456819201,2,'0','configuredcode','configuredcode','0','0',0,'0','1','1','0','0','0','1','0','0','0',' ',' ');
 DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1926246227456819200;
 INSERT INTO T_BAS_BILLTYPEFLDCTL (FID,FENTRYID,FSEQ,FMUSTINPUT,FFIELDKEY,FENTITYFIELDKEY,FENABLED,FEDITENABLED,FFIELDELEMENTTYPE,FSYSMUSTINPUT,FAUDITENABLED,FVINIT,FVNEW,FVEDIT,FVVIEW,FSUBMITENABLED,FVSUBMIT,FVAUDIT,FISDELETED,FDEFAULTVALUE,FDEFAULTFUNCPARAM) VALUES (1923886100103879680,1926246227456819200,1,'0','tracknumber','tracknumber','0','0',0,'0','1','1','0','0','0','1','0','0','0',' ',' ');
 DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1926246227456819203;
 INSERT INTO T_BAS_BILLTYPEFLDCTL (FID,FENTRYID,FSEQ,FMUSTINPUT,FFIELDKEY,FENTITYFIELDKEY,FENABLED,FEDITENABLED,FFIELDELEMENTTYPE,FSYSMUSTINPUT,FAUDITENABLED,FVINIT,FVNEW,FVEDIT,FVVIEW,FSUBMITENABLED,FVSUBMIT,FVAUDIT,FISDELETED,FDEFAULTVALUE,FDEFAULTFUNCPARAM) VALUES (1923886100103879680,1926246227456819203,4,'0','entrustdept','entrustdept','1','1',0,'0','1','1','0','0','0','1','0','0','0',' ',' ');
 DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1926246227456819202;
 INSERT INTO T_BAS_BILLTYPEFLDCTL (FID,FENTRYID,FSEQ,FMUSTINPUT,FFIELDKEY,FENTITYFIELDKEY,FENABLED,FEDITENABLED,FFIELDELEMENTTYPE,FSYSMUSTINPUT,FAUDITENABLED,FVINIT,FVNEW,FVEDIT,FVVIEW,FSUBMITENABLED,FVSUBMIT,FVAUDIT,FISDELETED,FDEFAULTVALUE,FDEFAULTFUNCPARAM) VALUES (1923886100103879680,1926246227456819202,3,'0','project','project','0','0',0,'0','1','1','0','0','0','1','0','0','0',' ',' ');
 DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1926246227456819204;
 INSERT INTO T_BAS_BILLTYPEFLDCTL (FID,FENTRYID,FSEQ,FMUSTINPUT,FFIELDKEY,FENTITYFIELDKEY,FENABLED,FEDITENABLED,FFIELDELEMENTTYPE,FSYSMUSTINPUT,FAUDITENABLED,FVINIT,FVNEW,FVEDIT,FVVIEW,FSUBMITENABLED,FVSUBMIT,FVAUDIT,FISDELETED,FDEFAULTVALUE,FDEFAULTFUNCPARAM) VALUES (1923886100103879680,1926246227456819204,5,'0','productiondomain','productiondomain','1','1',0,'0','1','1','1','1','1','1','1','1','0','E',' ');
 DELETE FROM T_BAS_BILLTYPEFLDCTL WHERE FENTRYID = 1939235738038136835;
 INSERT INTO T_BAS_BILLTYPEFLDCTL (FID,FENTRYID,FSEQ,FMUSTINPUT,FFIELDKEY,FENTITYFIELDKEY,FENABLED,FEDITENABLED,FFIELDELEMENTTYPE,FSYSMUSTINPUT,FAUDITENABLED,FVINIT,FVNEW,FVEDIT,FVVIEW,FSUBMITENABLED,FVSUBMIT,FVAUDIT,FISDELETED,FDEFAULTVALUE,FDEFAULTFUNCPARAM) VALUES (1923886100103879680,1939235738038136835,6,'0','projectname','projectname','0','0',0,'0','1','1','0','0','0','1','0','0','0',' ',' ');
 
-- 单据类型_多语言表
 DELETE FROM T_BAS_BILLTYPE_L WHERE FPKID = '40A4V2XYSZM0';
 INSERT INTO T_BAS_BILLTYPE_L (FPKID,FID,FLOCALEID,FNAME,FDESCRIPTION) VALUES ('40A4V2XYSZM0',1923886100103879680,'zh_CN','流程完工退库单',' ');
 DELETE FROM T_BAS_BILLTYPE_L WHERE FPKID = '40A4V2XYSZM1';
 INSERT INTO T_BAS_BILLTYPE_L (FPKID,FID,FLOCALEID,FNAME,FDESCRIPTION) VALUES ('40A4V2XYSZM1',1923886100103879680,'zh_TW','流程完工退庫單',' ');

-- End