DELETE FROM T_CR_CodeRule WHERE FID = '1KBGKBBTGXNC';
INSERT INTO T_CR_CodeRule(FID,FCTRLMODE,FSPLITSIGN,FEXAMPLE,FAPPMODE,FMASTERID,FSTATUS,FNUMBER,FEXAMPLELENGTH,FCREATETIME,FBIZOBJECTID,FMODIFIERID,FISUPDATERECOVER,FENABLE,FMODIFYTIME,FCREATORID) VALUES ('1KBGKBBTGXNC','1','-',' ','2','1KBGKBBTGXNC','C','1KBGFTB3UCTX',' ',{ts'2021-04-26  14:29:01'},'eb_bgdecompose',0,'0','1',{ts'2021-04-26  14:29:01'},0); 

DELETE FROM T_CR_CodeRule_L WHERE FPKID = '1KBGKBBX1O7=';
INSERT INTO T_CR_CodeRule_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('1KBGKBBTGXNC','1KBGKBBX1O7=','zh_CN','预算分解单编码规则'); 
DELETE FROM T_CR_CodeRule_L WHERE FPKID = '1KBGKBBX1O79';
INSERT INTO T_CR_CodeRule_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('1KBGKBBTGXNC','1KBGKBBX1O79','zh_TW','預算分解單編碼規則'); 

DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '1KBGKBEOWSM9';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FISVISABLE,FLENGTH,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('1KBGKBBTGXNC',1,'8',' ','0','1KBGKBEOWSM9',1,'1','3',0,'1',8,' ','1',' ','bgapplyscheme.number','0',' '); 
DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '1KBGKBEOWSM=';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FISVISABLE,FLENGTH,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('1KBGKBBTGXNC',1,'1','-','0','1KBGKBEOWSM=',1,'1','1',1,'1',8,'FJ','1',' ',' ','1',' '); 
DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '1KBGKBEOWSMA';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FISVISABLE,FLENGTH,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('1KBGKBBTGXNC',1,'16','-','0','1KBGKBEOWSMA',1,'1',' ',2,'1',6,' ','1',' ',' ','1',' '); 

