/*勾稽关系编码规则 added by qiheng_chen at 2019-4-12 */
DELETE FROM t_cr_coderule where FID = '/W0K0JHH9T=P';
DELETE FROM t_cr_coderule_l where FID = '/W0K0JHH9T=P';
DELETE FROM t_cr_coderuleentry where FID = '/W0K0JHH9T=P';

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 ('/W0K0JHH9T=P', ' ', ' ', 'bcm_chkformulasetting', '-', '1', '1', ' ', ' ', '1', 'C', '1', {ts'2018-10-09 21:13:37'}, '1', {ts'2019-01-21 15:17:47'}, 0, NULL, '/W0K0JHH9T=P', '0');
INSERT INTO t_cr_coderule_l (FPKID, FID, FLOCALEID, FNAME) 
     VALUES ('/W0K0JHH9T=R', '/W0K0JHH9T=P', 'zh_CN', '勾稽关系设置编码规则');
INSERT INTO t_cr_coderuleentry (FENTRYID, FID, FSEQ, FATTRIBUTETYPE, FATTUSINGMODE, FVALUEATRIBUTE, FFORMAT, FSETTINGVALUE, FLENGTH, FINITIAL, FSTEP, FADDCHAR, FISSPLITSIGN, FADDSTYLE, FCUTSTYLE, FISSORTITEM, FSPLITSIGN, FISVISABLE)
     VALUES ('/W0K0JJTY63I', '/W0K0JHH9T=P', '0', '1', '1', ' ', 'JY', ' ', '8', '1', '1', ' ', '0', '1', '1', '0', '0', '1');
INSERT INTO t_cr_coderuleentry (FENTRYID, FID, FSEQ, FATTRIBUTETYPE, FATTUSINGMODE, FVALUEATRIBUTE, FFORMAT, FSETTINGVALUE, FLENGTH, FINITIAL, FSTEP, FADDCHAR, FISSPLITSIGN, FADDSTYLE, FCUTSTYLE, FISSORTITEM, FSPLITSIGN, FISVISABLE)
     VALUES ('/W0K0JJTY63J', '/W0K0JHH9T=P', '1', '2', '1', 'createtime', 'yyMM', ' ', '8', '1', '1', ' ', '1', '1', '1', '1', '0', '1');
INSERT INTO t_cr_coderuleentry (FENTRYID, FID, FSEQ, FATTRIBUTETYPE, FATTUSINGMODE, FVALUEATRIBUTE, FFORMAT, FSETTINGVALUE, FLENGTH, FINITIAL, FSTEP, FADDCHAR, FISSPLITSIGN, FADDSTYLE, FCUTSTYLE, FISSORTITEM, FSPLITSIGN, FISVISABLE)
     VALUES ('/W0K0JJTY63K', '/W0K0JHH9T=P', '2', '16', '1', ' ', ' ', ' ', '6', '1', '1', ' ', '1', '1', '1', '0', '0', '1');