DELETE FROM T_CR_CodeRule WHERE FID = '2YOVRA83KEY/';
INSERT INTO T_CR_CodeRule(FID,FCTRLMODE,FSPLITSIGN,FEXAMPLE,FDISABLEDATE,FAPPMODE,FMASTERID,FSTATUS,FNUMBER,FRULETYPE,FEXAMPLELENGTH,FCREATETIME,FBIZOBJECTID,FENABLE,FISUPDATERECOVER,FMODIFIERID,FMODIFYTIME,FCREATORID,FDISABLERID) VALUES ('2YOVRA83KEY/','1','-',' ',NULL,'2','2YOVRA83KEY/','C','2YOVP=VCK2MS',NULL,' ',{ts'2022-12-16  00:00:00'},'cas_resetinitbalance','1','0',13466739,{ts'2023-03-22  00:00:00'},0,NULL);

DELETE FROM T_CR_CodeRule_L WHERE FPKID = '2YOVRA83KGYS';
INSERT INTO T_CR_CodeRule_L(FID,FPKID,FLOCALEID,FNAME) VALUES ('2YOVRA83KEY/','2YOVRA83KGYS','zh_CN','初始余额重置');

DELETE FROM T_CR_CodeRuleEntry WHERE FID = '2YOVRA83KEY/';
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '357/BLGNBA/K';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2YOVRA83KEY/',1,'1',' ','0','357/BLGNBA/K',1,'1','1',0,8,'1','CSYECZ',' ','1',' ','0',' ');
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '357/BLGNBA/L';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2YOVRA83KEY/',1,'8','-','0','357/BLGNBA/L',1,'1','3',1,8,'1',' ',' ','1','org.number','1',' ');
DELETE FROM T_CR_CodeRuleEntry WHERE FENTRYID = '357/BLGNBA/M';
INSERT INTO T_CR_CodeRuleEntry(FID,FINITIAL,FATTRIBUTETYPE,FSPLITSIGN,FISSORTITEM,FENTRYID,FSTEP,FCUTSTYLE,FATTUSINGMODE,FSEQ,FLENGTH,FISVISABLE,FFORMAT,FSETTINGVALUE,FADDSTYLE,FVALUEATRIBUTE,FISSPLITSIGN,FADDCHAR) VALUES ('2YOVRA83KEY/',1,'16','-','0','357/BLGNBA/M',1,'1',' ',2,4,'1',' ',' ','1',' ','1',' ');
