DELETE FROM t_cr_coderule WHERE FID='/AY/A+JX389I';
INSERT INTO t_cr_coderule (FID, FNUMBER, FRULETYPE, FBIZOBJECTID, FSPLITSIGN, FCTRLMODE, FAPPMODE, FEXAMPLE, FEXAMPLELENGTH, FENABLE, FSTATUS, FCREATORID, FCREATETIME, FMODIFIERID, FMODIFYTIME, FDISABLERID, FDISABLEDATE, FMASTERID, FISUPDATERECOVER) VALUES ('/AY/A+JX389I', ' ', ' ', 'scp_invoice', '-', '1', '2', ' ', ' ', '1', 'C', 0, {ts'2019-01-01 12:59:59'}, 13466739, {ts'2020-05-21 19:15:13'}, 0, {ts'2019-01-01 12:59:59'}, '/AY/A+JX389I', '0');
DELETE FROM t_cr_coderule_l WHERE FPKID='/AY/A+JX389K';
INSERT INTO t_cr_coderule_l (FPKID, FID, FLOCALEID, FNAME) VALUES ('/AY/A+JX389K', '/AY/A+JX389I', 'zh_CN', '协同开票单编码规则');
DELETE FROM t_cr_coderuleentry WHERE FID ='/AY/A+JX389I';
DELETE FROM t_cr_coderuleentry WHERE FENTRYID='0T2K9CERFPI/';
INSERT INTO t_cr_coderuleentry (FENTRYID, FID, FSEQ, FATTRIBUTETYPE, FATTUSINGMODE, FVALUEATRIBUTE, FFORMAT, FSETTINGVALUE, FLENGTH, FINITIAL, FSTEP, FADDCHAR, FISSPLITSIGN, FADDSTYLE, FCUTSTYLE, FISSORTITEM, FSPLITSIGN, FISVISABLE) VALUES ('0T2K9CERFPI/', '/AY/A+JX389I', 0, '1', ' ', ' ', 'SKP', ' ', 8, 1, 1, ' ', '0', '1', '1', '0', ' ', '1');
DELETE FROM t_cr_coderuleentry WHERE FENTRYID='0T2K9CERFPI0';
INSERT INTO t_cr_coderuleentry (FENTRYID, FID, FSEQ, FATTRIBUTETYPE, FATTUSINGMODE, FVALUEATRIBUTE, FFORMAT, FSETTINGVALUE, FLENGTH, FINITIAL, FSTEP, FADDCHAR, FISSPLITSIGN, FADDSTYLE, FCUTSTYLE, FISSORTITEM, FSPLITSIGN, FISVISABLE) VALUES ('0T2K9CERFPI0', '/AY/A+JX389I', 1, '2', '1', 'createtime', 'yyMMdd', ' ', 8, 1, 1, ' ', '1', '1', '1', '1', '-', '1');
DELETE FROM t_cr_coderuleentry WHERE FENTRYID='0T2K9CERFPI1';
INSERT INTO t_cr_coderuleentry (FENTRYID, FID, FSEQ, FATTRIBUTETYPE, FATTUSINGMODE, FVALUEATRIBUTE, FFORMAT, FSETTINGVALUE, FLENGTH, FINITIAL, FSTEP, FADDCHAR, FISSPLITSIGN, FADDSTYLE, FCUTSTYLE, FISSORTITEM, FSPLITSIGN, FISVISABLE) VALUES ('0T2K9CERFPI1', '/AY/A+JX389I', 2, '16', '1', ' ', ' ', ' ', 4, 1, 1, ' ', '1', '1', '1', '0', '-', '1');