DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2Q==NEVDA7OU';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2OB2WG=8KXD6',1,'1',' ','0','2Q==NEVDA7OU',1,'1','1',0,8,'1','DSN','1',' ',' ','0',' '); 
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2Q==NEVDA7OV';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2OB2WG=8KXD6',1,'2','-','0','2Q==NEVDA7OV',1,'1',' ',1,8,'1','yyyyMMdd','1',' ','createtime','1',' '); 
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '2Q==NEVDA7OW';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FADDSTYLE,FSETTINGVALUE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2OB2WG=8KXD6',1,'16','-','0','2Q==NEVDA7OW',1,'1',' ',2,6,'1',' ','1',' ',' ','1',' '); 
DELETE FROM T_CR_CodeRule WHERE FID = '2OB2WG=8KXD6';
INSERT INTO T_CR_CodeRule(FEXAMPLE,FAPPMODE,FISADDVIEW,FISAPPCONDITION,FISUNIQUE,FMASTERID,FISMODIFIABLE,FCREATETIME,FBIZOBJECTID,FISUPDATERECOVER,FENABLE,FISAPPORG,FISSERIALNUMBER,FISCHECKCODE,FID,FCTRLMODE,FSPLITSIGN,FISLOG,FSTATUS,FNUMBER,FEXAMPLELENGTH,FISFAST,FMODIFIERID,FISNONBREAK,FMODIFYTIME,FCREATORID) VALUES (' ','2','1','0','0','2OB2WG=8KXD6','0',{ts'2022-08-22  00:00:00'},'pur_deliveryschedule','0','1','0','1','0','2OB2WG=8KXD6','1','-','0','C','2OB2SDCB211S',' ','1',74260746,'0',{ts'2022-09-13  00:00:00'},0); 
DELETE FROM T_CR_CodeRule_l WHERE FPKID = '2OB2WG=8IULE';
INSERT INTO T_CR_CodeRule_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('2OB2WG=8KXD6','2OB2WG=8IULE','zh_CN','交货计划编码规则'); 
DELETE FROM T_CR_CodeRule_l WHERE FPKID = '2Q==N8FPEZRR';
INSERT INTO T_CR_CodeRule_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('2OB2WG=8KXD6','2Q==N8FPEZRR','zh_TW','交貨計劃編碼規則'); 