DELETE FROM T_CR_CodeRule WHERE FID = '18WI7V91/WE3';
INSERT INTO T_CR_CodeRule(FEXAMPLE,FAPPMODE,FISADDVIEW,FISAPPCONDITION,FMASTERID,FISUNIQUE,FRULETYPE,FISMODIFIABLE,FCREATETIME,FBIZOBJECTID,FENABLE,FISUPDATERECOVER,FISAPPORG,FISSERIALNUMBER,FDISABLERID,FISCHECKCODE,FID,FSPLITSIGN,FCTRLMODE,FDISABLEDATE,FISLOG,FSTATUS,FNUMBER,FEXAMPLELENGTH,FMODIFIERID,FISNONBREAK,FMODIFYTIME,FCREATORID) VALUES (' ','2','1','0','18WI7V91/WE3','0',NULL,'0',{ts'2020-12-07  15:39:29'},'ifm_rectransbill','1','0','0','1',NULL,'0','18WI7V91/WE3','-','1',NULL,'0','C','18WHY26YTLQE',' ',0,'0',{ts'2020-12-07  15:39:29'},0); 

DELETE FROM T_CR_CodeRule_L WHERE FPKID = '18WI7V91AAS3';
INSERT INTO T_CR_CodeRule_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('18WI7V91/WE3','18WI7V91AAS3','zh_CN','收款交易单'); 

DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '18WI7V=FE3=T';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('18WI7V91/WE3',1,'1',' ','0','18WI7V=FE3=T',1,'1','1',0,8,'1','SKJY',' ','1',' ','0',' '); 
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '18WI7V=FE3=U';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('18WI7V91/WE3',1,'2','-','0','18WI7V=FE3=U',1,'1',' ',1,8,'1','yyMMdd',' ','1','bizdate','1',' '); 
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '18WI7V=FE3=V';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('18WI7V91/WE3',1,'16','-','0','18WI7V=FE3=V',1,'1',' ',2,5,'1',' ',' ','1',' ','1',' '); 
