--WBS
DELETE FROM T_CR_CodeRule WHERE FID = '2N6HNABD4P3D';
INSERT INTO T_CR_CodeRule(FEXAMPLE,FAPPMODE,FISADDVIEW,FISAPPCONDITION,FMASTERID,FISUNIQUE,FISMODIFIABLE,FCREATETIME,FBIZOBJECTID,FENABLE,FISUPDATERECOVER,FISAPPORG,FISSERIALNUMBER,FISCHECKCODE,FID,FCTRLMODE,FSPLITSIGN,FISLOG,FSTATUS,FNUMBER,FEXAMPLELENGTH,FISFAST,FMODIFIERID,FISNONBREAK,FMODIFYTIME,FCREATORID) VALUES (' ','2','1','0','2N6HNABD4P3D','0','0',{ts'2022-08-09  00:00:00'},'pmts_wbs','1','0','0','1','0','2N6HNABD4P3D','1','-','0','C','2N6HJORDYCCP',' ','0',61021620,'0',{ts'2022-08-09  00:00:00'},0);

DELETE FROM t_cr_coderule_l WHERE FPKID = '2N6HNABD4OF5';
INSERT INTO t_cr_coderule_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('2N6HNABD4P3D','2N6HNABD4OF5','zh_CN','WBS编码规则');
DELETE FROM t_cr_coderule_l WHERE FPKID = '2N6HNABD4OF4';
INSERT INTO t_cr_coderule_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('2N6HNABD4P3D','2N6HNABD4OF4','zh_TW','WBS編碼規則');

DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '2N6HNACZSRD3';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2N6HNABD4P3D',1,'1',' ','0','2N6HNACZSRD3',1,'1','1',0,8,'1','WBS',' ','1',' ','0',' ');
DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '2N6HNACZSRD4';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2N6HNABD4P3D',1,'9','-','0','2N6HNACZSRD4',1,'1',' ',1,8,'1','yyyyMMdd',' ','1',' ','1',' ');
DELETE FROM t_cr_coderuleentry WHERE FENTRYID = '2N6HNACZSRD5';
INSERT INTO t_cr_coderuleentry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2N6HNABD4P3D',1,'16','-','0','2N6HNACZSRD5',1,'1',' ',2,8,'1',' ',' ','1',' ','1',' ');
