DELETE FROM T_CR_CodeRule WHERE FID = '1YKDY/=7+SMJ';
INSERT INTO T_CR_CodeRule(FEXAMPLE,FAPPMODE,FISADDVIEW,FISAPPCONDITION,FMASTERID,FISUNIQUE,FRULETYPE,FISMODIFIABLE,FCREATETIME,FBIZOBJECTID,FENABLE,FISUPDATERECOVER,FISAPPORG,FISSERIALNUMBER,FDISABLERID,FISCHECKCODE,FID,FCREATORID,FSPLITSIGN,FCTRLMODE,FDISABLEDATE,FISLOG,FSTATUS,FNUMBER,FEXAMPLELENGTH,FMODIFIERID,FISNONBREAK,FMODIFYTIME) VALUES (' ','2','1','0','1YKDY/=7+SMJ','0',NULL,'0',{ts'2021-10-03  00:00:00'},'cas_transferapply','1','0','0','1',NULL,'0','1YKDY/=7+SMJ',13466739,'-','1',NULL,'0','C','1YKDQ8OOLUOV',' ',0,'0',{ts'2021-10-03  00:00:00'});

DELETE FROM T_CR_CodeRule_L WHERE FPKID = '1YKDY/=6YGE7';
INSERT INTO T_CR_CodeRule_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('1YKDY/=7+SMJ','1YKDY/=6YGE7','zh_CN','调拨申请单');
DELETE FROM T_CR_CodeRule_L WHERE FPKID = '1YKDY/=6YGE6';
INSERT INTO T_CR_CodeRule_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('1YKDY/=7+SMJ','1YKDY/=6YGE6','zh_TW','調撥申請單');



DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '1YKDY/ASMUX9';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FADDCHAR,FVALUEATRIBUTE,FISSPLITSIGN) VALUES ('1YKDY/=7+SMJ',1,'1',' ','0','1YKDY/ASMUX9',1,'1','1',0,8,'1','DBSQ',' ','1',' ',' ','0');
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '1YKDY/ASMUX=';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FADDCHAR,FVALUEATRIBUTE,FISSPLITSIGN) VALUES ('1YKDY/=7+SMJ',1,'9','-','0','1YKDY/ASMUX=',1,'1',' ',1,8,'1','yyyyMMdd',' ','1',' ',' ','1');
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '1YKDY/ASMUXA';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FADDCHAR,FVALUEATRIBUTE,FISSPLITSIGN) VALUES ('1YKDY/=7+SMJ',1,'16','-','0','1YKDY/ASMUXA',1,'1',' ',2,5,'1',' ',' ','1',' ',' ','1');
